Payment to Platform

Get Settlement Account Balance

GET
/v1/payments/paymentToPlatform/{settlementAccountId}

Returns the balance for a specific settlement account identified by settlementAccountId.

Authorization

bearerAuth
AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Path Parameters

settlementAccountId*string

The ID of the settlement account to check balance for.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/payments/paymentToPlatform/7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d"

Successful settlement account balance retrieval

{  "status": {    "code": 200,    "desc": "success",    "messages": [      {        "desc": "Example description"      }    ]  },  "data": {    "balance": 4523.28,    "businessName": "Axis Bank Pvt. Ltd.",    "settlementAccountId": "7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d"  }}