A funds transfer represents either a top up to or a withdrawal from a Centrapay wallet. Topping up a wallet consists of making a bank transfer from the user’s bank account to Centrapay. Once Centrapay has verified the transfer was successful a user will be given credit on their Centrapay wallet equal to the amount of the bank transfer.
/api/topups
This endpoint allows you to list the Top Ups for authorized accounts.
/api/accounts/{accountId}/topups
This endpoint allows you to list the Top Ups for an account.
/api/withdrawals
This endpoint allows you to create a withdrawal.
Attributes
-
assetId
-
bankAccountId
Errors
-
BANK_AUTHORITY_WALLET_MISMATCH
-
INSUFFICIENT_WALLET_BALANCE
-
INVALID_WALLET_TYPE
-
BANK_ACCOUNT_TYPE_NOT_CONFIGURED_FOR_WITHDRAWAL
/api/withdrawals/{withdrawalId}
This endpoint allows you to retrieve a Withdrawal by id.
Errors
-
BANK_AUTHORITY_WALLET_MISMATCH
-
INSUFFICIENT_WALLET_BALANCE
-
INVALID_WALLET_TYPE
-
BANK_ACCOUNT_TYPE_NOT_CONFIGURED_FOR_WITHDRAWAL
/api/accounts/{accountId}/withdrawals
This endpoint allows you to list the withdrawals for an Account.
/api/funds-transfers/{fundsTransferId}/abort
This endpoint allows you to abort a Funds Transfer.
Errors
-
ABORT_WITHDRAWAL_NOT_SUPPORTED
-
FUNDS_TRANSFER_ALREADY_COMPLETE