🛰️
xPay.Stream
  • 📡xPay.Stream
  • 📌Prerequisites
  • Authentication API
  • Wallets
    • Create Wallet
    • Update Wallet
    • Get Wallet Info
    • Search Wallets
  • Billing
    • Create Bill
    • Cancel Bill
    • Get Bill Info
    • Search Bills
  • Transactions
    • 〰️Preview Transaction
    • ✔️Broadcast Transaction
    • 🔎Search Transactions
  • Notifications
    • Webhook
    • Email Alerts
Powered by GitBook
On this page

Prerequisites

Generic API Calls Patterns:

PreviousxPay.StreamNextAuthentication API

Last updated 1 year ago

Default HTTP Request Headers

Header
Value
Note

Authorization

Bearer <>

For all APIs, excluding

Content-Type

application/json

Request / Response Payloads in JSON

uuid

<valid_uuid_v4>

Optional reference, follows uuid-v4 format

All HTTP Methods POST

All HTTP Body Format JSON

For API Responses:

Note that if you send the uuid in the Request Headers, you will get it back in the reponse body, else an autogenerated uuid will be returned. UUIDs are beneficial for tracing and support purpose.

📌

Status Codes:

  • 200 OK: Call Executed

  • Other Status Codes: network/protocols, or unexpected non business errors

Business Success:

  • JSON Result:

{

"success": {

"message": "<msg>",

"data": <json>

}, "uuid" : "<uuid_v4>"

}

Business Error:

  • JSON Result:

{

"error": {

"message": "<msg>",

"data": <json>

},

"uuid" : "<uuid_v4>"

}

access_token
Authenticate API