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",
  "reference": "b60f54d5b1-922a-40ty6a-8417-fasjhdfdfdi231i",
  "phone": "XXXXXXXXX",
  "network": "XXXXXXX"
}'
{
  "message": "OK",
  "statusCode": 200,
  "data": {
    "transaction": {
      "slug": "e1d30877-0353-45b3-82fb-92780238ecb4",
      "card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
      "reference": "b60f55b1-922a-406a-8417-g54atb0849ttb22c",
      "status": "pending",
      "kind": "card_to_wallet",
      "merchant": false,
      "amount": 2000,
      "phone": "XXXXXXXX",
      "network": "XXXXXXXX",
      "created_at": "2023-06-22T10:40:17.000000Z"
    }
  }
}

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
required
card_reference
string
required
phone
string
required
network
enum<string>
required
Available options:
mtn-ci,
orange-money-ci,
wave-ci,
orange-money-sn,
wave-sn
code
string

Optional property only mandatory for orange-money-sn and orange-money-ci request.

  • You can generate a code for orange-money-sn (The code last 15 minutes) by typing #144#391*YOUR_ORANGE_MONEY_PIN_CODE#
  • You can generate a code for orange-money-ci (The code last 2 minutes) by typing #144*82*2#

Response

200 - application/json
message
string
statusCode
integer
transaction
object