UAPAY - національний платіжний сервіс

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Method for canceling an invoice payment with HOLD type

URL

POST api/invoicer/payments/cancel


Request:

KeyDescriptionTypeMandatoryExample
params



sessionId

client session id 

string, uuidyes"000ab70b-ef76-4385-a0f5-a98693c716f1"
paymentId

payment id

string, uuidyes"08eff720-9432-4951-a698-94e24db59e66"
invoiceId

invoice id 

string, uuidyes"48cae638-2f4b-434c-aafa-a4b9ced4b486"



Example of a query
{
   "params": {
      "sessionId": "000ab70b-ef76-4385-a0f5-a98693c716f1",
      "paymentId": "08eff720-9432-4951-a698-94e24db59e66",
      "invoiceId": "48cae638-2f4b-434c-aafa-a4b9ced4b486"
   }
}


Reply:

Key
Description
Type
Example
status

Status. 0 - error, 1 - success

integer

1

data




paymentId

payment id 

string, uuid
"08eff720-9432-4951-a698-94e24db59e66"


Example of an answer
{
    "status": 1,
    "data": {
        "paymentId": "08eff720-9432-4951-a698-94e24db59e66"
    }
}
  • No labels