Create Payout
https://api.druo.com/payouts/createCreate a new payout transaction.
This endpoint registers a payout request and creates a Transaction object to track the movement of funds to the destination account.
Request body
The ID of the Tenant that originated the payout transaction.
The amount of money, in the smallest denomination of the currency indicated (e.g., in cents for USD). For example, $10.00 USD is represented as 1000.
The ID of the account where the funds from this transaction will be deposited.
The type of currency, in ISO 4217 format. For example, the currency code for US dollars is USD.
The ID of the merchant associated with this payout transaction.
The description of this transaction, visible from the Portal and API.
An optional primary ID you can associate with the transaction for your own tracking purposes (such as to associate the transaction with an entity ID in your own database). This value cannot exceed 40 characters.
An optional secondary ID you can associate with the transaction for your own tracking purposes. This value cannot exceed 40 characters.
Set of key-value pairs that you can attach to an object. You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long.
Response
The unique identifier (UUID) of the transaction.
trx_422f0f81-5001-4cce-a229-242d9ab9960aThe remarks or supplementary status messages for the transaction.
INSUFFICIENT_FUNDSThe tenant object that originated the transaction.
{"uuid": "ten_0521aadc-5fbd-4b3c-af0a-a4f4b8d6f20a"}The destination account object where funds are deposited.
{"uuid": "acc_0521aadc-5fbd-4b3c-af0a-a4f4b8d6f20a"}The amount of money, in the smallest denomination of the currency.
10000The description of this transaction, which users may see (e.g., in email receipts sent on your behalf).
Insurance policy renewal - INV12324The primary reference identifier associated with the transaction.
ABC123The secondary reference identifier associated with the transaction.
bj39fhow39fhqp3f0hfae4344Key-value pairs associated with the transaction object.
{"order_id": "6735"}The reason why the transaction was declined, if applicable.
INSUFFICCIENT_FUNDSThe date and time the transaction was created, in GMT ISO format.
2021-11-15T23:23:38The date and time the transaction was last updated, in GMT ISO format.
2021-11-15T23:23:38
