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
Payin Sources
Create Payin Source
POST
/
payinSources
curl --request POST \
--url https://prod.api.palomma.com/v0/payinSources \
--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>"
},
"partialPayinsEnabled": true
}'
{
"id": "01HPR7A40E44S0WDR189YXA8GH",
"reference": "<string>",
"description": "<string>",
"customerId": "<string>",
"customerDetails": {
"reference": "<string>",
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "1037551022",
"email": "pepito@gmail.com",
"phoneNumber": "3013111111"
},
"status": "pending",
"statusMessage": "AUTHENTICATION_FAILED",
"authUrl": "<string>",
"redirectUrl": "<string>",
"partialPayinsEnabled": true,
"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
Payin Source created successfully
The response is of type object
.
curl --request POST \
--url https://prod.api.palomma.com/v0/payinSources \
--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>"
},
"partialPayinsEnabled": true
}'
{
"id": "01HPR7A40E44S0WDR189YXA8GH",
"reference": "<string>",
"description": "<string>",
"customerId": "<string>",
"customerDetails": {
"reference": "<string>",
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "1037551022",
"email": "pepito@gmail.com",
"phoneNumber": "3013111111"
},
"status": "pending",
"statusMessage": "AUTHENTICATION_FAILED",
"authUrl": "<string>",
"redirectUrl": "<string>",
"partialPayinsEnabled": true,
"type": "bankAccount",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.