Wallet Refill

This operation is used to refill amount to the Wallet

SecuritybearerAuth
Request
header Parameters
X-PB-Developer-Partner-ID
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Request Body schema: application/json
carrierAccountId
required
string

A unique identifier assigned to the specific carrier account. Its value can be referred from the response of Get Carrier Accounts API.

amount
required
number

It specified the required amount with which wallet is to refill.

costAccountId
string

It specified the cost account Id with which this transaction can be associated. Its value can be referred from response of Get Cost Accounts API

Responses
200

Wallet refill is successful

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

post/api/v1/payments/wallet/refill
Request samples
application/json
{
  • "carrierAccountId": "gOpvB5GjV8r",
  • "amount": 10
}
Response samples
application/json
{
  • "requestedAmount": 10,
  • "balanceAvailable": 3734.8,
  • "totalAmount": 10.35,
  • "status": "SUCCESS",
  • "transactionDetails": [
    ]
}