After Payment

Post-payment management APIs

Check Payment Status

get
/pg/payment/card/check/{orderId}

Check the status of a payment transaction

Authorizations
AuthorizationstringRequired

Basic authentication using Merchant ID and Merchant Key

Path parameters
orderIdstringRequired

Order ID to check status

Responses
200

Payment status retrieved

application/json
responseCodestringOptional

Response code

Example: 2000000
responseMessagestringOptional

Response message

Example: Success
processingTimenumberOptional

Processing time in seconds

Example: 0.9721949100494385
get
/pg/payment/card/check/{orderId}
200

Payment status retrieved

Refund Payment

post
/pg/payment/card/refund

Refund a payment transaction

Authorizations
AuthorizationstringRequired

Basic authentication using Merchant ID and Merchant Key

Body
Responses
200

Payment refunded successfully

application/json
responseCodestringOptional

Response code

Example: 2000000
responseMessagestringOptional

Response message

Example: Success
processingTimenumberOptional

Processing time in seconds

Example: 0.9721949100494385
post
/pg/payment/card/refund
200

Payment refunded successfully

Void Payment

post
/pg/payment/card/void

Void a payment transaction

Authorizations
AuthorizationstringRequired

Basic authentication using Merchant ID and Merchant Key

Body
Responses
200

Payment voided successfully

application/json
responseCodestringOptional

Response code

Example: 2000000
responseMessagestringOptional

Response message

Example: Success
processingTimenumberOptional

Processing time in seconds

Example: 0.9721949100494385
post
/pg/payment/card/void
200

Payment voided successfully

Cancel Order

get
/pg/payment/card/cancel/{orderId}

Cancel a pending order

Authorizations
AuthorizationstringRequired

Basic authentication using Merchant ID and Merchant Key

Path parameters
orderIdstringRequired

Order ID to cancel

Responses
200

Order cancelled successfully

application/json
responseCodestringOptional

Response code

Example: 2000000
responseMessagestringOptional

Response message

Example: Success
processingTimenumberOptional

Processing time in seconds

Example: 0.9721949100494385
get
/pg/payment/card/cancel/{orderId}
200

Order cancelled successfully

Last updated