API REFERENCE
...
Payments
Instant payment
Await for payment status
1 min
Get status of the payment initiation
GET
Request
Response
Path Params
id
String
required
Payment initiation order id, it will be returned when POST /payments is called.
Header Parameters
Authorization
String
required
JWT bearer token
Curl
Node.js
JS
Python
Ruby
1curl --location --globoff 'https://api-testing.klavi.ai/payment/customer/v1/payments/{id}/status' \
2--header 'Accept: application/json' \
3--header 'Content-Type: application/json'
Responses
200
1{
2 "id": "cfa45795-fe16-48e2-a372-130e30a72606",
3 "clientRequestId": "1a3s2aebe29s2",
4 "amount": "1333.04",
5 "currency": "BRL",
6 "status": "CONSENT_AUTHORIED",
7 "statusReason": {
8 "code": "NAO_INFORMADO",
9 "message": "Erro não informado na iniciadora ou detentora de conta."
10 },
11 "statusUpdateAt": "2022-09-23T03:39:43.737Z"
12}
If the status of user consent is CONSENT_AUTHORIZED means that the authentication has been passed, and redirectConsentURL will not be returned.
redirectConsentURL: This url can only be accessed once, and it has 60 seconds to be accessed.
Updated 19 Jun 2025
Did this page help you?