Version 2

API Private key.

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

POST:

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

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

{

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

It works with one of the two parameters order_no or session_id

POST:

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

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

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

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

POST:

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

“operation” “order_no” Or “session_id”.

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

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.

POST:

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

Request parameters

“operation” “order_no” Or “session_id”.

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

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

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.

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

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.

POST:

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

“operation” “order_no” Or “session_id”.

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

Operations are not working for foreign currenies.

Last updated