Fiat

Create a Checkout deposit intent (DOKU-hosted page, all channels)

netAmountIdr is the NET credited to the user (minimum Rp100.000, API-enforced — no DOKU minimum). Global PeridotID fee = 0.1% of net, min Rp100, no cap; when `clientId` is given the app's topup fee stacks on top. gross = net + fee, quoted upfront and snapshotted on the row. DOKU charges its own provider fee separately. The page is routed to the caller's sub-account. The customer is charged gross; fiat settles 100% to the user IDR account as points backing. On verified payment the backend issues NET points (user) + FEE points (Treasury) on the Unified Ledger — the Saldo is usable in seconds without waiting for fiat settlement. The API never debits a fee after settlement.

POST
/fiat/deposits/checkout

netAmountIdr is the NET credited to the user (minimum Rp100.000, API-enforced — no DOKU minimum). Global PeridotID fee = 0.1% of net, min Rp100, no cap; when clientId is given the app's topup fee stacks on top. gross = net + fee, quoted upfront and snapshotted on the row. DOKU charges its own provider fee separately. The page is routed to the caller's sub-account. The customer is charged gross; fiat settles 100% to the user IDR account as points backing. On verified payment the backend issues NET points (user)

  • FEE points (Treasury) on the Unified Ledger — the Saldo is usable in seconds without waiting for fiat settlement. The API never debits a fee after settlement.

Authorization

cookieAuth
pid_access<token>

JWT access token set by /auth/google/callback or /auth/refresh

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/fiat/deposits/checkout" \  -H "Content-Type: application/json" \  -d '{    "netAmountIdr": "string"  }'
{  "id": "string",  "providerRef": "string",  "paymentUrl": "string",  "tokenId": "string",  "expiredDate": "string",  "grossIdr": "string",  "feeIdr": "string",  "netIdr": "string",  "feePolicyVersion": 0,  "providerStatus": "string",  "createdAt": "2019-08-24T14:15:22Z"}