Create a Payout
Create a new payout.
Endpoint
POST /v1/payouts
Scope
payouts:create
Request
Request Body
| Name | Type | Description |
|---|---|---|
preferred_channel | TURBOSAVE (default) | The payout preferred channel to create the payout.TURBO means that the payout will try to use the turbo channel.SAVE means that the payout will be sent using the standard channel. |
fee_type | DEDUCTED_FROM_ITEM_AMOUNTSTANDARD | The fee type to create the payout.DEDUCTED_FROM_ITEM_AMOUNT means that the fee will be deducted from the item amount.STANDARD means that the fee will charged to the customer in the transfer_amount. |
origin_source_id | uuid | The Id of the wallet from the tokens come from. To get this id you need to call the endpoint Get Wallets before. |
items | Array<New Payout Item> | The items to create the payout. |
info
You can see more about the items property for create payout clicking on this link.
List of Available Banks
The item.bank_account_details.bank_name property must be filled with one of the banks in the following list.
Using any other bank will return an error.
warning
IMPORTANT: The list of available banks is different for production and sandbox environments. Please use one of the options listed below.
Click here to view the Available Banks list
- Production
- Sandbox
BANCAMIABANCIENBANCO_AGRARIOBANCO_AV_VILLASBANCO_BBVABANCO_BTG_PACTUALBANCO_CAJA_SOCIAL_BCSCBANCO_COMPARTIRBANCO_CONTACTARBANCO_COOPERATIVO_COOPCENTRALBANCO_DAVIVIENDABANCO_DE_BOGOTABANCO_DE_OCCIDENTEBANCO_FALABELLABANCO_GNB_SUDAMERISBANCO_JP_MORGANBANCO_MULTIBANKBANCO_MUNDO_MUJERBANCO_PICHINCHABANCO_POPULARBANCO_PROCREDITBANCO_SANTANDERBANCO_SERFINANZABANCO_UNIONBANCO_WBANCOLDEXBANCOLOMBIABANCOOMEVABNP_PARIBASBOLDCITIBANKCOINKCOLTEFINANCIERACONFIARDAVIPLATADING_TECNIPAGOS_SAGLOBAL66IRISITAU_CORPBANCA_COLOMBIA_S_AITAUJFK_COOPERATIVA_FINANCIERAJP_MORGAN_CORPORACION_FINANCIONLULO_BANKMOVII_SANEQUINUPIBANKPOWWIRAPPIPAYSANTANDER_CONSUMERSCOTIABANK_COLPATRIAUALA
OUTBANK
Example Request Body
- Production
- Sandbox
{
"fee_type": "DEDUCTED_FROM_ITEM_AMOUNT",
"origin_source_id": "2af83836-43ea-407b-ab4e-9c64ee817b28",
"items": [
{
"amount": "2000",
"full_name": "John Doe",
"token": "COPM",
"legal_identifier_type": "CC",
"legal_identifier": "123456789",
"country_iso": "CO",
"network": "BANK",
"bank_account_details": {
"bank_name": "BANCO_FALABELLA",
"type": "SAVINGS",
"number": "2109309321"
}
}
]
}
{
"fee_type": "STANDARD",
"origin_source_id": "d0866d0f-7532-44bc-9466-126764682a0b",
"items": [
{
"amount": "2000",
"full_name": "John Doe",
"token": "testCOPM",
"legal_identifier_type": "CC",
"legal_identifier": "123456789",
"country_iso": "CO",
"network": "BANK",
"bank_account_details": {
"bank_name": "OUTBANK",
"type": "SAVINGS",
"number": "1111111111"
}
}
]
}
Response
Below you can find an example of what a successful response of a Payout object looks like.
- Deducted From Item Amount
- Standard
{
"output": {
"id": "d5e5262c-5697-408d-bb9b-48c3cf8c2f89",
"created_at": "2024-10-18T01:43:02.763Z",
"updated_at": "2024-10-18T01:43:02.763Z",
"finished_at": null,
"fee_type": "DEDUCTED_FROM_ITEM_AMOUNT",
"fee_amount": "700",
// 👇 This is the amount that you need to send to the wallet address
"transfer_amount": "2000",
"refunded_amount": null,
"status": "PENDING",
"status_code": "AWAIT_PROCESSING",
"origin_source_id": "d0866d0f-7532-44bc-9466-126764682a0b",
"public_data": {
"creator_type": "SYSTEM",
"creator_identifier": "pKwqg9A7F832CAIX",
// 👇 This is the wallet address where you need to send the tokens
"deposit_wallet_address": "0x6f2D66cF59Cf6C1c2609f0127c91A480020dC2fd"
},
"activities": [
{
"type": "CREATE_PAYOUT",
"status": "SUCCEEDED",
"last_update_at": "2024-10-18T01:43:02.761Z"
},
{
"type": "AWAIT_PROCESSING",
"status": "PENDING",
"last_update_at": "2024-10-18T01:43:02.761Z"
}
]
},
"code": "CREATED"
}
{
"output": {
"id": "a042fc84-34d4-4e0a-a127-40f6b154e4f8",
"created_at": "2024-10-18T01:50:38.144Z",
"updated_at": "2024-10-18T01:50:38.144Z",
"finished_at": null,
"fee_type": "STANDARD",
"fee_amount": "700",
// 👇 This is the amount that you need to send to the wallet address
"transfer_amount": "2700",
"refunded_amount": null,
"status": "PENDING",
"status_code": "AWAIT_PROCESSING",
"origin_source_id": "d0866d0f-7532-44bc-9466-126764682a0b",
"public_data": {
"creator_type": "SYSTEM",
"creator_identifier": "pKwqg9A7F832CAIX",
// 👇 This is the wallet address where you need to send the tokens
"deposit_wallet_address": "0x6f2D66cF59Cf6C1c2609f0127c91A480020dC2fd"
},
"activities": [
{
"type": "CREATE_PAYOUT",
"status": "SUCCEEDED",
"last_update_at": "2024-10-18T01:50:38.142Z"
},
{
"type": "AWAIT_PROCESSING",
"status": "PENDING",
"last_update_at": "2024-10-18T01:50:38.142Z"
}
]
},
"code": "CREATED"
}
Test the endpoint
- Production
- Sandbox
curl -X POST 'https://api.minteo.finance/v1/payouts' \
-H 'Authorization: Bearer <your-api-key>' \
-H 'Content-Type: application/json' \
-d '{
"fee_type": "DEDUCTED_FROM_ITEM_AMOUNT",
"origin_source_id": "2af83836-43ea-407b-ab4e-9c64ee817b28",
"items": [
{
"amount": "2000",
"full_name": "John Doe",
"token": "COPM",
"legal_identifier_type": "CC",
"legal_identifier": "123456789",
"country_iso": "CO",
"network": "BANK",
"bank_account_details": {
"bank_name": "BANCO_FALABELLA",
"type": "SAVINGS",
"number": "2109309321",
}
}
]
}'
curl -X POST 'https://api.sandbox.minteo.finance/v1/payouts' \
-H 'Authorization: Bearer <your-api-key>' \
-H 'Content-Type: application/json' \
-d '{
"fee_type": "DEDUCTED_FROM_ITEM_AMOUNT",
"origin_source_id": "2af83836-43ea-407b-ab4e-9c64ee817b28",
"items": [
{
"amount": "2000",
"full_name": "John Doe",
"token": "testCOPM",
"legal_identifier_type": "CC",
"legal_identifier": "123456789",
"country_iso": "CO",
"network": "BANK",
"bank_account_details": {
"bank_name": "OUTBANK",
"type": "SAVINGS",
"number": "1111111111",
}
}
]
}'