POST
/
transactions
/
create
/
wallet-to-card
curl --request POST \
  --url https://api.sandbox.saalal.com/v1/transactions/create/wallet-to-card \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 2000,
  "card_reference": "6516484d-0059-4f53-b2cf-31f3ae884d3a",
  "network": "XXXXXXX",
  "phone": "XXXXXXXXX",
  "reference": "b60f54d5b1-922a-40ty6a-8417-fasjhdfdfdi231i"
}'
{
  "data": {
    "transaction": {
      "amount": 2000,
      "card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
      "created_at": "2023-06-22T10:40:17.000000Z",
      "kind": "card_to_wallet",
      "merchant": false,
      "network": "XXXXXXXX",
      "phone": "XXXXXXXX",
      "reference": "b60f55b1-922a-406a-8417-g54atb0849ttb22c",
      "slug": "e1d30877-0353-45b3-82fb-92780238ecb4",
      "status": "pending"
    }
  },
  "message": "OK",
  "statusCode": 200
}

Authorizations

Authorization
string
headerrequired

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

Headers

Accept
string

Body

application/json
amount
integer
card_reference
string
network
enum<string>
Available options:
mtn-ci,
orange-money-ci,
wave-ci,
orange-money-sn,
wave-sn
phone
string

Response

200 - application/json
message
string
statusCode
integer
transaction
object