Get payment status
Fetches payment status by payment_details_id.
Endpoint​
POST /payments/status
Query Parameters​
version(string, required) - API contract version. Use exactly 2024-10-01.diagnostics(boolean, optional) - Non-production docs only. Set true to include extra diagnostic metadata (for example observed_client_ip).
Header Parameters​
PW-subscription-key(string, required)PW-origin-country(string, required)PW-request-date(string, required)PW-ip-address(string, required)User-Agent(string, required)
Request Body​
{
"api_key": "sandbox_api_key",
"payment_details_id": "pay_123"
}
Responses​
200 - Wrapper-normalized response envelope (success cases).​
Schema provided without concrete example payload.
400 - Wrapper-normalized response envelope (400)​
Example: error​
{
"status": "error",
"code": 400,
"message": "payment_details_id is required",
"request_id": "eb97a05c-774e-4f48-9a81-b7bba2157a16",
"timestamp": "2026-02-11T03:59:45.622Z",
"observed_client_ip": {
"request_ip": "172.64.80.1",
"socket_remote_address": "172.64.80.1"
}
}
500 - Wrapper-normalized response envelope (500)​
Example: captured_primary​
{
"status": "error",
"code": 500,
"message": "Server Error",
"request_id": "03cc465a-1bdd-4548-838c-562c6bc8b67f",
"timestamp": "2026-02-11T03:59:45.617Z",
"observed_client_ip": {
"request_ip": "172.64.80.1",
"socket_remote_address": "172.64.80.1"
}
}
Notes​
This endpoint page is generated from openapi/pw-wrappers.2024-10-01.yaml.