POST
/
transactions
/
create
/
card-to-bank
curl --request POST \
  --url https://api.sandbox.saalal.com/v1/transactions/create/card-to-bank \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 2000,
  "bank_id": "XX08XX0100163110648500003035",
  "bank_name": "YOUR_BANK_NAME",
  "card_reference": "6516484d-0059-4f53-b2cf-31f3ae884d3a",
  "reference": "b60f54d5b1-922a-40ty6a-8417-fasjhdfdfdi231i"
}'
{
  "data": {
    "transaction": {
      "amount": 2000,
      "bank_account_name": "YOUR_BANK_ACCOUNT_NAME",
      "bank_id": "XX08XX0100163110648500003035",
      "bank_name": "YOUR_BANK_NAME",
      "card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
      "created_at": "2023-06-22T10:40:17.000000Z",
      "kind": "card_to_bank",
      "merchant": "ALAL",
      "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
account_name
string
amount
integer
bank_id
string
bank_name
enum<string>
Available options:
BICICI,
NSIA_BANQUE_CI,
SIB,
SOCIETE_GENERALE_CI,
CITIBANK_CI,
BOA_CI,
BACI,
ECOBANK_CI,
BHCI,
BNI,
STANDARD_CHARTERED_BANK_CI,
AFRILAND_FIRST_BANK_CI,
VERSUS_BANK_CI,
ORABANK_CI,
BBG_CI,
UBA_CI,
BSIC_CI,
BGFIBANK_CI,
BANQUE_POPULAIRE,
GTBANK_CI,
CBI_CI,
BDU_CI,
STANBIC_BANK_CI,
BDA,
MANSA_BANK_CI,
ORANGE_BANK_CI,
AFG_BANK_CI
card_reference
string

Response

200 - application/json
message
string
statusCode
integer
transaction
object