General
API Documentation
- Introduction
- Endpoints
- Customers
- Payment Methods
- Payment Requests
Webhooks
Payment Methods
Get All Payment Methods
Returns a list of all Payment Method objects corresponding to the merchant.
GET
/
paymentMethods
curl --request GET \
--url https://prod.api.palomma.com/v1/paymentMethods \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "67d7ae28-bf1d-4ee9-8a47-99358c9e6c32",
"status": "active",
"customerId": "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
"customerDetails": {
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "200220422",
"email": "pepito@perez.com"
},
"type": "bankAccount",
"bankAccount": {
"bank": "santander",
"accountType": "savings",
"accountNumber": "123456789"
},
"bancolombiaInstant": {
"authUrl": "https://www.bancolombia.com/...",
"affiliate": {
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "200220422",
"accountType": "savings",
"accountNumber": "123456789"
}
},
"nequiInstant": {
"phoneNumber": "3298779391"
},
"createdAt": "2023-10-26T21:28:34.152Z",
"updatedAt": "2023-10-26T21:28:34.152Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
A list of payment methods.
The response is of type object
.
curl --request GET \
--url https://prod.api.palomma.com/v1/paymentMethods \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "67d7ae28-bf1d-4ee9-8a47-99358c9e6c32",
"status": "active",
"customerId": "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
"customerDetails": {
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "200220422",
"email": "pepito@perez.com"
},
"type": "bankAccount",
"bankAccount": {
"bank": "santander",
"accountType": "savings",
"accountNumber": "123456789"
},
"bancolombiaInstant": {
"authUrl": "https://www.bancolombia.com/...",
"affiliate": {
"name": "Pepito Perez",
"documentType": "cc",
"documentNumber": "200220422",
"accountType": "savings",
"accountNumber": "123456789"
}
},
"nequiInstant": {
"phoneNumber": "3298779391"
},
"createdAt": "2023-10-26T21:28:34.152Z",
"updatedAt": "2023-10-26T21:28:34.152Z"
}
]
}