xBillion API
Home
Home
  1. Payments
  • xBillion
    • Introduction
    • Authentication
    • Webhhoks
    • API
      • Payments
        • Get information
          GET
        • Create payment
          POST
  1. Payments

Get information

GET
/api/v1/payments/{id}
Payments
Get payment information

Request

Path Params
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 --location --request GET 'https://prod.your-api-server.com/api/v1/payments/'

Responses

🟢200The details of transactions was returned.
application/json
Body
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
🟠400Bad request.
🟠401Request is unauthorized.
🟠403Merchant does not have access rights to this transaction.
🟠422Service for this transaction not found.
🔴500Internal error.
Previous
Webhhoks
Next
Create payment
Built with