cURL
curl -X POST https://api.rebellapp.com/v1/payments/inquiryPayment \ -H "Content-Type: application/json" \ -H "Client-Id: YOUR_CLIENT_ID" \ -H "Request-Time: 2024-01-10T12:00:00Z" \ -H "Signature: algorithm=SHA256withRSA, keyVersion=1, signature=BASE64_SIGNATURE" \ -d '{ "paymentId": "20220914595540652867492", "paymentRequestId": "REQ_abc_123" }'
{ "result": { "resultStatus": "S", "resultCode": "<string>", "resultMessage": "<string>" }, "paymentStatus": "SUCCESS", "paymentId": "<string>", "paymentRequestId": "<string>", "paymentTime": "2023-11-07T05:31:56Z", "paymentAmount": { "currency": "<string>", "value": 123 } }
Poll a payment to retrieve its latest status.
RSA SHA256 signature header. Example: Signature: algorithm=SHA256withRSA, keyVersion=0, signature=BASE64...
Signature: algorithm=SHA256withRSA, keyVersion=0, signature=BASE64...
Rebell-assigned Client Id.
RFC3339 timestamp (e.g., 2019-05-28T12:12:00+08:00).
OK
Show child attributes
SUCCESS
PROCESSING
FAIL
Amount in minor units (e.g., cents).