post
https://api-sandbox.paymentlabs.io/wallets///credits
Credits a holder's wallet.
The credit creates a virtual payment in a batch and submits it in the same call. There is no separate approval step.
The credit moves to credited once the payment completes. Use an existing batch with batchId, or create one with batch.
Retrying with the same referenceId and the same terms returns the existing credit with 200.
Errors
400 VALIDATION_ERROR: a field is missing or invalid, including sending neither or both ofbatchIdandbatch(CREDIT_BATCH_REQUIRED)400 CREDIT_INVALID_AMOUNT:sourceAmounthas more decimals than the wallet's currency allows400 CREDIT_BATCH_INVALID: the batch cannot take this payment409 CREDIT_ALREADY_EXISTS: a credit with thisreferenceIdexists with different terms409 CUSTOMER_FROZEN: the wallet program is frozen409 HOLDER_NOT_PAYABLE: the holder has not finished onboarding. Nothing was recorded, so retry with the samereferenceIdonce they have
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
404The wallet does not exist, or does not belong to this holder
