Replenishment of the user's advance balance
The method allows you to top up the user's advance balance (check the availability of the method in support)
Request:
Parameter | Required | Type | Description |
userId | Yes | String | User ID |
advancedBalanceId | Yes | String | Advanced balance ID |
amount | Yes | String | The amount of replenishment. The number must contain no more than two decimal places (i.e. '5.25' is suitable, but '5.529' is not) |
Replenishment of the user's advance balance
POSThttps://ocp.onchainpay.io/partner/api/top-up-advanced-balance
Header parameters
Body
userId*string
User ID
"b62ffd59-158b-4daf-aeb0-cc02c710f615"
organizationId*string
Organization ID
"6691face-ec14-4fd5-94a8-f6307dcb22a4"
advancedBalanceId*string
ID of the advance balance
"bb837399-bb7a-4d97-9cab-4d47c1b198ba"
amount*string
The amount for which the balance is replenished
"4.87"
Response
Body
success*boolean
Request success indicator
response*PartnerAdvancedBalancesSource (object)
The object of the advance balance
Request
Response
Last updated