Sarafa API
Authorizations
api-keystringRequired
Path parameters
currencystring · enumRequiredPossible values:
Supported currencies.
Responses
200
Successful retrieval of wallet
application/json
statusstringOptionalExample:
Response status (e.g., 'success', 'error', 'ok')
success404
Resource Not Found
application/json
get
/wallet/{currency}Authorizations
api-keystringRequired
Path parameters
tx_idstringRequired
The unique transaction ID.
Responses
200
Transaction details found
application/json
statusstringOptionalExample:
Response status (e.g., 'success', 'error', 'ok')
success404
Resource Not Found
application/json
get
/transaction/{tx_id}Authorizations
api-keystringRequired
Body
amountnumber · doubleRequiredExample:
100.5currencystring · enumRequiredPossible values:
Supported currencies.
account_numberstringRequired
Payer's account number
referencestringRequired
External reference ID
callback_urlstring · uriRequired
Responses
200
Charge initiated successfully
application/json
statusstringOptionalExample:
Response status (e.g., 'success', 'error', 'ok')
success400
Bad Request / Validation Error
application/json
post
/chargeAuthorizations
api-keystringRequired
Body
amountnumber · doubleRequired
currencystring · enumRequiredPossible values:
Supported currencies.
destinationstring · enumRequiredPossible values:
Type of destination for the transfer.
account_numberstringRequired
Recipient account number
referencestringRequired
callback_urlstring · uriRequired
Responses
200
Transfer initiated successfully
application/json
statusstringOptionalExample:
Response status (e.g., 'success', 'error', 'ok')
success400
Bad Request / Validation Error
application/json
post
/transferLast updated