codePayout & Payin

Payout and Payin functions similarly to off-ramp and on-ramp transactions. They share the same request body structure, except that the transaction_hash and chain is not included for payout and payin requests. For additional details, please refer to the On-Ramp / Off-Ramp section.

Disbursement

Name
Type
Description

type

String

Type of payment, MOBILE, BUY_GOODS & PAYBILL

shortcode

String

Recipient mobile number, till number or paybill number

account_number

String

Required if type is PAYBILL

amount

Integer

Amount to disburse

mobile_network

String

Supported mobile network ie Safaricom

callback_url

URL

URL to receive payment notification

POST {{url}}/{{currencyCode}}/disburse
{
    "amount": "50",
    "shortcode": "0700123456",
    "type": "MOBILE",
    "mobile_network": "Safaricom", // Airtel (required only when type is MOBILE)
    "callback_url": "https://pretium.africa/b2c/log-test"
}
  

Collection

Bank Transfer

Validation

Status

Last updated