API REFERENCE
...
Management
Orders
Get a payment initiation order
1 min
Get a payment initiation order
GET
Request
Response
Path Params
appId
String
required
App ID
id
String
required
Payment initiation id, it will be returned when POST /orders is called
Header Parameters
Authorization
String
required
Bearer access token, it returned by the /auth
Curl
Node.js
JS
Python
Ruby
1require "uri"
2require "json"
3require "net/http"
4
5url = URI("https://api-testing.klavi.ai/payment/management/v1/merchants/{appId}/orders/{id}")
6
7https = Net::HTTP.new(url.host, url.port)
8https.use_ssl = true
9
10request = Net::HTTP::Get.new(url)
11request["Accept"] = "application/json"
12request["Content-Type"] = "application/json"
13
14response = https.request(request)
15puts response.read_body
16
Responses
200
409
1{
2 "id": "fcb72e3a-b346-4f71-b044-971dc23232c9",
3 "createAt": "2023-01-23T14:17:06.45Z",
4 "updateAt": "2023-01-23T14:17:06.45Z",
5 "error": {
6 "code": "NAO_INFORMADO",
7 "title": "Não informado",
8 "detail": "Erro não informado na iniciadora ou detentora de conta."
9 },
10 "status": "CANCELED",
11 "externalId": "971dc23232c9",
12 "appId": "0b59d801-08e0-4e84-9ecd-569f34e32279",
13 "provider": {
14 "tradeName": "Klavi",
15 "avatar": "https://media.licdn.com/dms/image/C4D0BAQGwqthFsnjhpw/company-logo_200_200/0/1647885722250?e=1681948800&v=beta&t=A7-Ks2EcodobZmHhOutvZ6IS3OgjfHDclmuS7sSjRfs"
16 },
17 "participantId": "c8f0bf49-4744-4933-8960-7add6e590841",
18 "user": {
19 "taxId": "12345678901",
20 "name": "dang"
21 },
22 "method": "PIX_MANU_AUTO",
23 "amount": "4800",
24 "date": "2023-01-23",
25 "redirectURL": "https://app.sandbox.inic.dev/pag-receipt",
26 "debtor": {
27 "number": "",
28 "accountType": "",
29 "ispb": "",
30 "issuer": "",
31 "bank": {
32 "id": "c8f0bf49-4744-4933-8960-7add6e590841",
33 "name": "Mock Bank",
34 "avatar": "https://cdn.raidiam.io/directory-ui/brand/obbrazil/0.2.0.112/favicon.svg"
35 }
36 },
37 "creditor": {
38 "taxId": "38231713000139",
39 "name": "Klavi",
40 "number": "********",
41 "accountType": "CACC",
42 "ispb": "60701190",
43 "issuer": "****",
44 "bank": {
45 "name": "Mock Bank",
46 }
47 },
48 "ibge": "IBGE", // Optional
49 "metadata": {}, // Optional
50 "endToEndId": "E44471172202401220923Uaeb155278c", // Optional
51 "consentId": "urn:raidiambank:8a10ef4f-fad4-469d-ba54-8403bfeba960", // Optional
52 "paymentId": "7dd18dc8-e7a7-4d98-8b95-f6db9cea4663", // Optional, bank payment id
53 "scheduleId": "7a87bda2-bd41-4bfa-a3eb-5f0a0d73cc96" // Optional
54}
Updated 24 Jun 2025
Did this page help you?