Callback
Body
typestringRequiredExample:
Type of Task ( "pay_new", "pay_cancel", "shop_add", "shop_update", "shop_status" )
pay_new
codenumber · enumRequiredPossible values:
Result Code
messagestringRequiredExample:
Result Message
Success
dataany ofRequired
Result Data
or
Responses
200Success
application/json
Responseobject
post
POST /external/callback HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 606
{
"type": "pay_new",
"code": 0,
"message": "Success",
"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
}
}
200Success
{}