The smarter way
Search
⌃K

Version 2

Capture

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

Base URL

POST:
https://<ottu-url>/b/pbl/v2/operation These data is for showcasing!
“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://<ottu-url>/b/pbl/v2/operation These data is for showcasing!
“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://<otuu-url>/b/pbl/v2/operation These data is for showcasing!
“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.
It is only for payment transaction whose state is either created, pending, cod, or attempted. See payment transaction states.

Base URL

POST:
https://<ottu-url>/b/pbl/v2/operation These data is for showcasing!

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://<ottu-url>/b/pbl/v2/inquiry These data is for showcasing!
“order_no” Or “session_id”.
If True, the merchant will receive a disclosure request.
Where the request would be sent to.

Body

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

Expire

It works with one of the two parameters, order_no or session_id. It is only for payment transaction whose state is either created, pending, or attempted. Furthermore, it is not applicable for payment transaction whose state is either authorized or any other subsequent payment transaction. See payment transaction states.

Base URL

POST:
https://<ottu-url>/b/pbl/v2/operation These data is for showcasing!
“operation” “order_no” Or “session_id”.

Body

{
"operation": "expire",
"order_no": "",// or "session_id"
}
Operations are not working for foreign currenies.