Search Payment Method
Check the payment methods available for each of your LP accounts
Last updated
Check the payment methods available for each of your LP accounts
Last updated
GET
https://api.stage.localpayment.com/api/resources/payment-methods
Search for the payment methods available for your accounts
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
[
{
"accountCode": "ACME.MEX.USD.01",
"accountNumber": "484.840.00000003",
"payinPaymentMethods": [
{
"id": 14,
"code": "1602",
"name": "Oxxo",
"description": "Oxxo",
"paymentMethodType": "Cash",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 31,
"code": "1606",
"name": "BBVA",
"description": "BBVA",
"paymentMethodType": "BankTransfer",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 13,
"code": "1600",
"name": "Visa",
"description": "Visa",
"paymentMethodType": "CreditCard",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 56,
"code": "1603",
"name": "Visa",
"description": "Visa",
"paymentMethodType": "DebitCard",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
}
],
"payoutPaymentMethods": []
}
]
{
// Response
}
curl --location --request GET 'https://api.stage.localpayment.com/api/resources/payment-methods?accountNumber=484.840.00000003' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQ3ODg2NDMyLCJqdGkiOiIwNmNiNjE0YzcyMTM0M2JkYTFkMDU4Y2Y2NmFlNGRkNiIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.c9CwaHxnHpG2h2S76OtqiblBwfvH85o883BVHahUheM'
[
{
"accountCode": "ACME.MEX.USD.01",
"accountNumber": "484.840.00000003",
"payinPaymentMethods": [
{
"id": 14,
"code": "1602",
"name": "Oxxo",
"description": "Oxxo",
"paymentMethodType": "Cash",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 31,
"code": "1606",
"name": "BBVA",
"description": "BBVA",
"paymentMethodType": "BankTransfer",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 13,
"code": "1600",
"name": "Visa",
"description": "Visa",
"paymentMethodType": "CreditCard",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
},
{
"id": 56,
"code": "1603",
"name": "Visa",
"description": "Visa",
"paymentMethodType": "DebitCard",
"country": {
"id": 0,
"code": "484",
"name": "Mexico",
"isoCode3": "MEX",
"localCurrency": {
"code": "484",
"name": "Mexican peso",
"isoCode3": "MXN"
}
}
}
],
"payoutPaymentMethods": []
}
]
[
{
"accountCode": "String",
"accountNumber": "String",
"payinPaymentMethods": [
{
"code": String,
"name": String,
"description": String,
"paymentMethodType": String,
"country": {
"id": number,
"code": String,
"name": String,
"isoCode3": String,
"localCurrency": {
"code": String,
"name": String,
"isoCode3": String
}
}
}
],
"payoutPaymentMethods": [
{
"code": String,
"name": String,
"description": String,
"paymentMethodType": String,
"country": {
"id": number,
"code": String,
"name": String,
"isoCode3": String,
"localCurrency": {
"code": String,
"name": String,
"isoCode3": String
}
}
}
]
}
]