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}
Get payment information

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Path Params

Request Code 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://payments-api.xbillion.pro/api/v1/payments/' \
--header 'Authorization: Basic <encoded-value>'

Responses

🟢200The details of transactions was returned.
application/json
Body

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