xBillion API
Home
Home
Payments
Copy Page
xBillion
Introduction
Authentication
Webhhoks
API
Payments
Get information
GET
Create payment
POST
Payments
Copy Page
Get information
GET
/api/v1/payments/{id}
Try it
Run in Apidog
Run in Apidog
Payments
Get payment information
Request
Path Params
Generate Code
id
string
required
Payment ID on the xBillion side
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
GET
'https://prod.your-api-server.com/api/v1/payments/'
Responses
🟢
200
The details of transactions was returned.
application/json
Generate Code
Body
Generate Code
id
string
optional
Transaction ID on the xBillion service side
amount
object
(CreatePayinResponseAmount)
optional
Contains information about the amount to be processed on the payment system side
value
number
required
Amount to be processed on the payment xBillion side
currency
string
required
Currency of the amount to be processed on the payment system side. 3-letter code in ISO 4217 format.
fees
#/definitions/2717384
optional
Contains information on transaction fees
Could not resolve '#/definitions/2717384'
status
string
optional
Transaction status
created_at
string
optional
Transaction creation time in RFC-3339 format
Example
🟠
400
Bad request.
🟠
401
Request is unauthorized.
🟠
403
Merchant does not have access rights to this transaction.
🟠
422
Service for this transaction not found.
🔴
500
Internal error.
Previous
Webhhoks
Next
Create payment