Introduction
API Documentation
- General
- Receiving Money
- Sending Money
- Endpoints
- Customers
- Payin Links
- Payin Sources
- Payin Requests
- Payout Targets
- Payout Requests
- Merchant Accounts
- Status Messages
Webhooks
Payout Targets
Create Payout Target
POST
/
payoutTargets
curl --request POST \
--url https://prod.api.palomma.com/v0/payoutTargets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "<string>",
"description": "<string>",
"customerId": "<string>",
"redirectUrl": "<string>",
"type": "bankAccount",
"bankAccount": {
"bank": "santander",
"accountType": "savings",
"accountNumber": "<string>"
}
}'
{
"id": "01HPR8S7YF43PV3QV16TZDC80P",
"reference": "<string>",
"description": "<string>",
"customerId": "01HPR57X6QR5ZRKEEKBSDBW4RA",
"customerDetails": {
"reference": "<string>",
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "1037551022",
"email": "pepito@gmail.com",
"phoneNumber": "3013111111"
},
"status": "active",
"statusMessage": "AUTHENTICATION_FAILED",
"authUrl": "<string>",
"redirectUrl": "<string>",
"type": "bankAccount",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Payout Target created successfully
The response is of type object
.
curl --request POST \
--url https://prod.api.palomma.com/v0/payoutTargets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "<string>",
"description": "<string>",
"customerId": "<string>",
"redirectUrl": "<string>",
"type": "bankAccount",
"bankAccount": {
"bank": "santander",
"accountType": "savings",
"accountNumber": "<string>"
}
}'
{
"id": "01HPR8S7YF43PV3QV16TZDC80P",
"reference": "<string>",
"description": "<string>",
"customerId": "01HPR57X6QR5ZRKEEKBSDBW4RA",
"customerDetails": {
"reference": "<string>",
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "1037551022",
"email": "pepito@gmail.com",
"phoneNumber": "3013111111"
},
"status": "active",
"statusMessage": "AUTHENTICATION_FAILED",
"authUrl": "<string>",
"redirectUrl": "<string>",
"type": "bankAccount",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.