Open
Body
paymentIdstringRequiredExample:
ID of Payment
0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901
terminalIdstringOptionalExample:
ID of terminal
KIOSK0001
Responses
200Success
application/json
post
POST /v1/payment/cancel/open HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"paymentId": "0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901",
"terminalId": "KIOSK0001"
}
200Success
{
"code": 0,
"data": {
"paymentId": "0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901",
"purchaseId": "P00000000000203",
"amount": "100000000000000000000",
"currency": "krw",
"shopId": "0x00011936a68f7c26797fa2ab64d444ea82c2fb1af36cdea6d4ff845da635f287",
"account": "0x5A3Fc8990417b3e6ddCdAE0E8039E798A609Ef84",
"paidPoint": "100000000000000000000",
"paidValue": "100000000000000000000",
"feePoint": "5000000000000000000",
"feeValue": "5000000000000000000",
"totalPoint": "105000000000000000000",
"totalValue": "105000000000000000000",
"terminalId": "KIOSK0001",
"paymentStatus": 0
},
"error": {
"message": "Failed to check the validity of parameters"
}
}
Body
paymentIdstringRequiredExample:
ID of Payment
0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901
terminalIdstringRequiredExample:
ID of terminal
KIOSK0001
signaturestringRequiredExample:
Signature of agent wallet
0x020d671b80fbd20466d8cb65cef79a24e3bca3fdf82e9dd89d78e7a4c4c045bd72944c20bb1d839e76ee6bb69fed61f64376c37799598b40b8c49148f3cdd88a1b
Responses
200Success
application/json
post
POST /v2/payment/cancel/open HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"paymentId": "0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901",
"terminalId": "KIOSK0001",
"signature": "0x020d671b80fbd20466d8cb65cef79a24e3bca3fdf82e9dd89d78e7a4c4c045bd72944c20bb1d839e76ee6bb69fed61f64376c37799598b40b8c49148f3cdd88a1b"
}
200Success
{
"code": 0,
"data": {
"paymentId": "0x2d9100c28be32e1a29e55b2ead66d472a6271627235778379657d08c9dc1d901",
"purchaseId": "P00000000000203",
"amount": "100000000000000000000",
"currency": "krw",
"shopId": "0x00011936a68f7c26797fa2ab64d444ea82c2fb1af36cdea6d4ff845da635f287",
"account": "0x5A3Fc8990417b3e6ddCdAE0E8039E798A609Ef84",
"paidPoint": "100000000000000000000",
"paidValue": "100000000000000000000",
"feePoint": "5000000000000000000",
"feeValue": "5000000000000000000",
"totalPoint": "105000000000000000000",
"totalValue": "105000000000000000000",
"terminalId": "KIOSK0001",
"paymentStatus": 0
},
"error": {
"message": "Failed to check the validity of parameters"
}
}