Local card payments in Indonesia
You can make local card payments in Indonesia.
Currency: IDR
Minimum payment amount: 11,000 IDR
Maximum payment amount: unlimited
Available payment systems: Visa, Visa Debit, Mastercard, Mastercard Debit, American Express, Maestro Debit, JCB
To make a payment, complete the standard steps.
info
If you use our widget, pass the mandatory parameters in the session/create method.
Otherwise, you can pass the mandatory parameters either in session/create or in session/start/payment.
Mandatory parameters
| Name | Type | Description |
|---|---|---|
amount_details | object | Payment amount details |
amount | int | Payment amount in decimal format. To send 100 USD, write 10000 |
currency | string | ISO 4217 currency code. Case insensitive. Always: idr |
payment_details | object | Payment data |
sender | object | Sender details |
full_name | string | Sender's full name (3–50 characters) |
email | string | Sender's email address (up to 64 characters before @) |
identity_document | string | NIK number (16 digits) |
Request example
curl -X POST \
https://demo.smart-glocal.com/api/v1/session/start/payment \
-H 'content-type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: signature' \
-d '{
"session_id": "ps_3230",
"amount_details": {
"amount": 11000,
"currency": "idr"
},
"payment_details": {
"sender": {
"full_name": "Jane Doe",
"email": "janedoe@mymail.com",
"identity_document": "1234567890123456"
}
}
}'
Response example
curl -X POST \
https://partner.com \
-H 'content-type: application/json' \
-H 'X-PARTNER-SIGN: signature' \
-d '{
"status": "ok",
"session": {
"id": "ps_3230",
"status": "in_progress",
"created_at": "2025-05-27T02:03:00.000000Z",
"updated_at": "2025-05-27T02:03:00.000000Z",
"acquiring_payments": [{
"id": "pm_203",
"status": "in_progress",
"created_at": "2025-05-27T02:03:00.000000Z",
"amount_details": {
"amount": 11000,
"currency": "idr"
},
"payment_details": {
"sender": {
"full_name": "Jane Doe",
"email": "janedoe@mymail.com",
"identity_document": "1234567890123456"
}
}
}]
}
}'