Skip to main content
POST
/
v1
/
payments
/
inquiryPayment
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
  }
}

Authorizations

Signature
string
header
required

RSA SHA256 signature header. Example: Signature: algorithm=SHA256withRSA, keyVersion=0, signature=BASE64...

Client-Id
string
header
required

Rebell-assigned Client Id.

Request-Time
string
header
required

RFC3339 timestamp (e.g., 2019-05-28T12:12:00+08:00).

Body

application/json
paymentId
string
required
paymentRequestId
string
required

Response

OK

result
object
required
paymentStatus
enum<string>
required
Available options:
SUCCESS,
PROCESSING,
FAIL
paymentId
string
paymentRequestId
string
paymentTime
string<date-time>
paymentAmount
object

Amount in minor units (e.g., cents).