The Smarter Way
Search…
⌃K
🔄

Operations

​V1​

​Authentication​

​Capture​

​Base URL​

POST:
​https://mch.com/b/pbl/v1/operation/{{order_no}} These data is for showcasing! mch: merchant. {{order_no}}: order number should be inserted.

​Request parameters​

“operation”.
“amount”.

​Body​

{
"operation":"capture",
"amount":""
}

​Refund​

​Base URL​

POST:
​https://mch.com/b/pbl/v1/operation/{{order_no}} These data is for showcasing! mch: merchant. {{order_no}}: order number should be inserted.

​Request parameters​

“operation”. “amount”.

​Body​

{
"operation":"refund",
"amount":""
}

​Cancel​

​Base URL​

POST:
​https://mch.com/b/pbl/v1/operation/{{order_no}} These data is for showcasing! mch: merchant. {{order_no}}: order number should be inserted.
Request parameters
"operation".

​Body​

{
"operation":"cancel"
}

​Inquiry​

​Base URL​

POST:
​https://mch.com/b/pbl/v1/operation/{{order_no}} These data is for showcasing! mch: merchant. {{order_no}}: order number should be inserted.
Request parameters
No request parameters needed.

​Body​

This request does not have a body.

​V2​

​Authentication​

​API key​

​Capture​

It works with one of the two parameters order_no or session_id.

​Base URL​

POST:
​https://mch.com/b/pbl/v2/operation ​ These data is for showcasing! mch: merchant.

​Request parameters​

“operation” “order_no” Or “session_id” “amount”.

​Body​

{
​
"operation": "capture",
"order_no": "", // or "session_id",
"amount": ""
}

​Refund​

It works with one of the two parameters order_no or session_id​

​Base URL​

POST:
​https://mch.com/b/pbl/v2/operation ​ These data is for showcasing! mch: merchant.

​Request parameters​

“operation” “order_no” Or “session_id” “amount”.

​Body​

{
"operation": "refund",
"order_no": "", // or "session_id"
"amount": ""
}

​Void​

It works with one of the two parameters order_no or session_id.

​Base URL​

POST:
​https://mch.com/b/pbl/v2/operation ​ These data is for showcasing! mch: merchant.

​Request parameters​

“operation” “order_no” Or “session_id”.

​Body​

{
"operation": "void",
"order_no": "", // or "session_id"
}

​Cancel​

It works with one of the two parameters order_no or session_id.

​Base URL​

POST:
​https://mch.com/b/pbl/v2/operation ​ These data is for showcasing! mch: merchant.

Request parameters

“operation” “order_no” Or “session_id”.

​Body​

{
"operation": "cancel",
"order_no": "",// or "session_id"
}

​Inquiry​

It works with one of the two parameters order_no or session_id.

​Base URL​

POST:
​https://mch.com/b/pbl/v2/inquiry These data is for showcasing! mch: merchant.

​Request parameters​

“order_no” Or “session_id”.

​Body​

{
"order_no": " ",// or "session_id"
}