Skip to main content

Pay-Out · Bolivia

TOPPAY TeamAbout 2 min

Request

The Pay-Out API lets merchants initiate payments to beneficiaries. This page covers Bolivia (country code bo, currency BOB). Use platform bank or wallet codes in bankCode; see Regional Payment Guide — Bolivia for the complete list.

Request URL

Domain: Prefer unified host openapi.toppayment.com (path unchanged); legacy country domain (e.g. global-bo-openapi.toppayment.com) remains available.

EnvironmentURL
Sandboxhttps://openapi.toppayment.com/sandbox/bo/disbursement/cash
Productionhttps://openapi.toppayment.com/bo/disbursement/cash

Request Header

FieldRequiredTypeDescription
Content-TypeMStringFixed value: application/json

Request Body

FieldRequiredTypeDescription
mchNoMString(32)Merchant number
orderNumMString(50)Merchant order number
amountMNumber(32,8)Transaction amount; positive, an integer or at most two decimal places
bankCodeMString(32)Receiving bank or wallet code; see Bolivia code list
bankCardMString(50)Beneficiary account; for YAPE, enter the beneficiary's Yape account
accountNameMString(50)Beneficiary name
descriptionOString(255)Transaction description
feeTypeMNumberFee type: 0 deducted from the order amount; 1 charged separately
downNotifyUrlMString(164)Async notification URL
timestampMString(13)Millisecond timestamp
signMStringSignature; see Signature

Request Body Example

Content-type: application/json

Response

Response Body Parameters

FieldRequiredTypeDescription
successMBooleanRequest success flag
codeMString9999 = accepted; determine other outcomes from the order status
msgOStringResponse message
timeStampMNumberResponse timestamp (ms)
dataMObjectTransaction data
orderNumMStringMerchant order number
platOrderNumMStringPlatform order number
amountMNumberTransaction amount
feeMNumberFee
feeTypeMNumberFee type
statusMNumberTransaction status; see Transaction Status Codes
statusMsgMStringStatus message
bankCodeMStringBank or wallet code
bankCardMStringBeneficiary account
accountNameMStringBeneficiary name
descriptionOStringTransaction description
{
  "success": true,
  "code": "9999",
  "msg": "SUCCESS",
  "timeStamp": 1767772957433,
  "data": {
    "orderNum": "BOPAYOUT1234561",
    "platOrderNum": "TRANS2008811496544403456",
    "amount": 100.50,
    "fee": 2,
    "feeType": 1,
    "status": 1,
    "statusMsg": "ORDER_RECEIVED_PROCESSING",
    "bankCode": "YAPE",
    "bankCard": "70012345",
    "accountName": "Maria Lopez",
    "description": "test"
  }
}

Notification

HTTP Request

FieldRequiredTypeDescription
Content-TypeMStringapplication/json

Notification Body

FieldRequiredTypeDescription
platOrderNumMStringPlatform order number
versionMStringAPI version
orderNumMStringMerchant order number
amountMNumberTransaction amount
feeMNumberFee
feeTypeMNumberFee type
statusMNumberTransaction status; see Transaction Status Codes
statusMsgMStringStatus message
bankCodeMStringBank or wallet code
bankCardMStringBeneficiary account
accountNameMStringBeneficiary name
descriptionOStringTransaction description
signMStringNotification signature

Response

Verify the signature, then return the plain string SUCCESS only.

SUCCESS

Notification Example

{
  "platOrderNum": "TRANS2008812168572567552",
  "version": "v1",
  "orderNum": "BOPAYOUT1234561",
  "amount": 100.50,
  "fee": 2,
  "feeType": 1,
  "status": 2,
  "statusMsg": "SUCCESS",
  "bankCode": "YAPE",
  "bankCard": "70012345",
  "accountName": "Maria Lopez",
  "description": "test",
  "sign": "…"
}