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

Checking the status of the payment (Invoices payments checkStatus)

Method for showing the status of the current invoice payment

URI

POST api/invoicer/payments/checkStatus

Request:

Key

Description

Type

Mandatory

Example

Key

Description

Type

Mandatory

Example

params









sessionId

client session id 

string, uuid

yes

"000ab70b-ef76-4385-a0f5-a98693c716f1"

paymentId

payment id

string, uuid

yes

"08eff720-9432-4951-a698-94e24db59e66"

invoiceId

invoice id

string, uuid

yes

"f9f57a53-fe87-465d-8f7a-795251a6ba46"

Example of a query
{ "params": { "sessionId": "613f7045-03a2-4bbb-8ff8-e2202e71d41f", "paymentId": "02984d64-12d2-45d9-8329-f5ff92169e38", "invoiceId": "f9f57a53-fe87-465d-8f7a-795251a6ba46" } }

 

Відповідь:

Key

Description

Type

Example

Key

Description

Type

Example

status

Status. 0 - error, 1 - success

integer

1

data







id

operations

string, uuid

"48cae638-2f4b-434c-aafa-a4b9ced4b486"

pluginId

bank id

integer

2

amount

payment amount

integer

100

status

invoice payment status

string

"NEEDS_CONFIRMATION"

confirmation



object



confirmation.{}.type

type of payment card

string

"LOOKUP"

confirmation.{}.confirmationsLeft

confirmation attempts

integer

confirmation.{}.url

processing page address

string

confirmation.{}.form.PaReq

authorization data on the processing page

string



confirmation.{}.redirect.url

redirect address from the processing page

string

confirmation.{}.redirect.params.id

payment ID parameter





paymentStatus

payment status from the invoice system

string

"NEW"

Example of an answer for LOOKUP card
Example of an answer for 3DS card



UAPAY - національний платіжний сервіс
pay@uapay.ua