Check Status
Check the payment status of the transactions
Check Status
GET  https://api.stage.localpayment.com/api/transactions/:id/status
This endpoint allows to get the payin or payout status
Path Parameters
Name
Type
Description
id*
string
Mandatory. Use the same externalId you gave when requesting the transaction or the internalId returned by LocalPayment when the transaction was generated.
Headers
Name
Type
Description
Authorization*
string
Mandatory. Bearer JWT token in format Bearer eyJ0... . For more information about authentication, please refer to Authentication
{
    "internalId": "f2006e1f-aaee-4106-8252-e45bdf4ed197",
    "externalId": "1649365324",
    "status": {
        "code": "200",
        "description": "Completed",
        "detail": "The payin was credited"
    }
}{
    "status": {
        "code": "404",
        "description": "ERROR",
        "detail": "Payin not found"
    }
}Examples: Check Status 
curl --location --request GET 'https://api.stage.localpayment.com/api/transactions/1648665215/status/?=' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQ4NjY1NjcwLCJqdGkiOiI5OTJmNTU1NjE1NGM0MjEzYjExMmU5OGY1NzgwYmFiMiIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.svL94lXdzCkFcbpZwSIByAbAxHBFMRxr9yGw0Bxlfs8' \
--data-raw ''curl --location --request GET 'https://api.stage.localpayment.com/api/transactions/79b03ac5-06de-4d3d-ac29-20d8515ed652/status/?=' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQ4NjY1NjcwLCJqdGkiOiI5OTJmNTU1NjE1NGM0MjEzYjExMmU5OGY1NzgwYmFiMiIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.svL94lXdzCkFcbpZwSIByAbAxHBFMRxr9yGw0Bxlfs8' \
--data-raw ''{
    "internalId": "79b03ac5-06de-4d3d-ac29-20d8515ed652",
    "externalId": "1648665215",
    "status": {
        "code": "200",
        "description": "Completed",
        "detail": "The payin was credited"
    }
}{
    "internalId": "4410fe1d-1cce-4c5e-88f1-12964fcd2513",
    "externalId": "1648672961",
    "status": {
        "code": "100",
        "description": "InProgress",
        "detail": "The payin is pending the confirmation"
    }
}Payint Status Codes
PayinPayout Status Codes
PayoutLast updated
Was this helpful?
