GET
/
v1
/
payments
/
{payment_id}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

payment_id
string
required

UID of the payment

Response

200 - application/json
id
string
order_id
string
amount
integer

Amount in cents

payment_status
enum<string>

Status of the payment

Available options:
payment_prepared,
payment_holding,
payment_pending,
payment_failure,
payment_success,
payment_cancelled,
payment_partial_refunded,
payment_refunded,
payment_expired
merchant_id
string

UUID of the merchant who created the payment

customer_id
string

UUID of the customer

is_refundable
boolean

Weither the payment is refundable or not

refunded_amount
integer

Refunded amount for this payment in cents

created_at
string