Documentation V3
Search…
⌃K

Check Subscription

get
https://api.stage.localpayment.com
/api/subscriptions/externalID
Get Subscription
CURL request
Response
curl --location --request GET 'https://api.stage.localpayment.com/api/subscriptions/1662558201' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjYyNjUyNTYyLCJqdGkiOiJmZGM3NzMzNWYwNWY0YTg1OTg1NzM0ZTg0NmU3OTg4OSIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ._wpnC6r02XdGRhcEYx-sWEB3dj8OzuuurglgnI2jSJ4'
{
"externalId": "1662558201",
"internalId": "38a16a07-6616-4a90-82b9-0d7c8e2a2b76",
"country": "ARG",
"currency": "ARS",
"accountNumber": "032.032.00000015",
"status": {
"code": "105",
"description": "INPROGRESS"
},
"date": {
"creationDate": "2022-09-07 13:43:52.932",
"nextPaymentDate": "2022-09-09T13:43:52.567Z"
},
"payments": [
{
"externalId": "8708a8ad-806b-4487-a0ce-ea6344d5b347",
"internalId": "ede1a29c-6e68-49ef-a5a7-e6be3a21251b",
"status": {
"code": "103",
"description": "APPROVED",
"detail": "The payin was confirmed but not credited yet"
}
},
{
"externalId": "24f28300-a100-40a6-9344-4d337758d2d5",
"internalId": "9bbd8079-8f48-4977-8cd4-1732c90650dd",
"status": {
"code": "103",
"description": "APPROVED",
"detail": "The payin was confirmed but not credited yet"
}
}
]
}