Skip to main content
GET
/
api
/
action
/
card
/
transaction
/
{id}
Perform card operations
curl --request GET \
  --url https://sandbox.soleaspay.com/api/action/card/transaction/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sp-auth-token: <x-sp-auth-token>'
{
  "new_balance": "<string>",
  "transaction_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-sp-auth-token
string
required

Path Parameters

id
string
required

Query Parameters

action
enum<string>
required
Available options:
topup,
withdraw,
disabled,
enabled,
transactions,
terminate
currency
string

Required for topup/withdraw

amount
string

Required for topup/withdraw

Response

200 - application/json

Operation successful

For topup/withdraw

new_balance
string
transaction_id
string