Initiate a spend back transaction

This POST endpoint is used to initiate a spendback transaction to a provided user token.
You can use this endpoint to enable spendback transactions for your users and help them manage their funds more effectively.
To use this endpoint, you need to provide the user_token as a parameter in the URL Path, along with the required parameters in the request Body, including client_spendback_id, source_token, source_currency_code and amount.
The endpoint will then initiate the spendback transaction, transferring funds from the source token to the user token. The response will contain a JSON object indicating the status of the request and any relevant transaction details.

Log in to see full request history
Path Params
string
required

Token representing the user to fetch/initiate spend back

Body Params

Spend back information

string
required
length ≤ 50

A client defined spend back identifier. This is the unique ID assigned to the load on your system. Max 50 characters.

uuid
required

Token that represents the funding source i.e. bank account, wallet. 36 characters long

string
required
Defaults to USD

The currency originating balance is stored in. Using ISO 4217 format. In most cases this value will be USD, and therefore the defaut value if none is provided

number
required

The amount to debit the user's wallet in source currency

string
length ≤ 255

A description for the spend back

metadata
object

Optional JSON object with attributes that can later be searched to locate this spendback. Do not include PII as this object is not encrypted. There are two special attributes that can be provided in the metadata field: batch_identifier and batch_name. Either of those values, would group transactions in the ledger under the same description.

Headers
string

Unique key to prevent duplicate processing

Responses

Language
Credentials
URL