Skip to main content

FX Payout

An FX payout sends fiat from a PSP or customer custody balance to a beneficiary's bank account or mobile wallet. Unlike fiat_payout, it does not start from on-chain stablecoins and does not use a Celar wallet.

Examples use the sandbox environment. For production, replace api.sandbox.celar.io with api.celar.io.

How it works

  1. Submit an fx_payout transfer with the source custody currency and destination payout details
  2. Celar debits the underlying custody balance
  3. Celar creates or reuses the beneficiary and submits the fiat payout
  4. Track completion through Payment Statuses or Webhooks

Prerequisites

  • A valid customer_id: see Register a Customer
  • Sufficient custody balance in source.currency
  • A unique Idempotency-Key for the request
info

fx_payout does not require a rate signature, a source crypto wallet, or a Celar walletId.

warning

SWIFT appears in the schema enum, but the transfer schema description says SWIFT FX payouts are not supported yet.

Submit the transfer

curl --request POST \
--url https://api.sandbox.celar.io/api/v1/payments/transfer \
--header 'Authorization: Bearer <your_api_key>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <unique_uuid>' \
--data '{
"operationType": "fx_payout",
"customer_id": "cr_2ae76bc76f03437d",
"amount": 10000,
"source": {
"currency": "NGN"
},
"destination": {
"description": "Payout to Kenya from NGN wallet",
"paymentMethod": "mobile",
"currency": "KES",
"serviceProvider": "MPESA",
"phoneNumber": "+254700000000",
"reference": "fx-ngn-kes-test-001",
"purpose_of_transaction": "SERVICES_PAYMENT"
}
}'

Response

{
"payment_id": "transfer_9b858103f825a5b4",
"status": "pending"
}

The payout is asynchronous. Poll Payment Statuses or subscribe to Webhooks to detect completion.

Field reference

FieldRequiredDescription
operationTypeYesfx_payout
customer_idYesThe customer receiving the payout
amountYesSource spend amount in the custody currency
source.currencyYesCustody wallet currency to debit, for example NGN
destination.currencyYesFiat currency the beneficiary receives, for example KES or XOF
destination.paymentMethodYesmobile or bank. swift is defined in schema but not currently supported for FX payouts
destination.descriptionYesInternal description for reconciliation
destination.referenceNoYour own reference ID
destination.countryConditionalRequired for ambiguous multi-country currencies such as XOF
destination.serviceProviderConditionalRequired for mobile payouts
destination.phoneNumberConditionalRequired for mobile payouts in E.164 format
destination.accountNumberConditionalRequired for bank payouts
destination.bankCodeConditionalRequired for bank payouts
destination.purpose_of_transactionNoDeclared reason for the payout

Purpose of transaction

Supported values
ValueDescription
GOODS_PURCHASEPayment for physical goods or merchandise.
SERVICES_PAYMENTPayment for services rendered.
INVOICE_PAYMENTSettlement of an issued invoice.
LOAN_REPAYMENTRepayment of a loan or credit obligation.
BILLS_PAYMENTPayment of utilities, subscriptions, or recurring bills.
SALARY_AND_WAGESSalary, payroll, or wage disbursement.
P2P_TRANSFERPerson-to-person transfer between individuals.
REMITTANCEDomestic or cross-border transfer to a beneficiary.
DONATIONCharitable or personal donation.
GRANTS_AND_SCHOLARSHIPSFunding for grants, bursaries, or scholarships.
TRAVEL_AND_ACCOMMODATIONPayment for travel, lodging, or related expenses.
TAX_PAYMENTTax remittance to a government or regulatory authority.
INSURANCE_PREMIUMPayment of an insurance premium.
FAMILY_SUPPORTFinancial support sent to family members.
EDUCATIONTuition fees, school expenses, or educational costs.
GIFT_AND_DONATIONPersonal gift or charitable contribution.
MEDICAL_TREATMENTPayment for medical or healthcare services.
MAINTENANCE_EXPENSESOngoing maintenance or upkeep costs.
TRAVELTravel-related expenses.
SMALL_VALUE_REMITTANCELow-value cross-border remittance.
LIBERALIZED_REMITTANCERemittance under a liberalized scheme.
CONSTRUCTION_EXPENSESCosts related to construction or building projects.
HOTEL_ACCOMMODATIONPayment for hotel or lodging services.
ADVERTISING_EXPENSESMarketing or advertising costs.
ADVISORY_FEESFees for consulting or advisory services.
BUSINESS_INSURANCEBusiness-related insurance payment.
INSURANCE_CLAIMSPayment of an insurance claim.
DELIVERY_FEESShipping or delivery charges.
EXPORTED_GOODSPayment for goods exported internationally.
SERVICE_CHARGESGeneral service or processing charges.
LOAN_PAYMENTLoan instalment or repayment.
OFFICE_EXPENSESOffice supplies or operational costs.
PROPERTY_PURCHASEPayment for real estate or property acquisition.
PROPERTY_RENTALRent payment for residential or commercial property.
ROYALTY_FEESRoyalties for intellectual property or licensing.
SHARES_INVESTMENTInvestment in shares or equities.
FUND_INVESTMENTInvestment into a fund or financial instrument.
TRANSPORTATION_FEESTransport or logistics costs.
UTILITY_BILLSPayment for electricity, water, gas, or internet.
PERSONAL_TRANSFERGeneral personal transfer with no specific category.
SALARY_PAYMENTSalary disbursement to an employee.
OTHER_FEESMiscellaneous fees not covered by other categories.
COMPUTER_SERVICESPayment for IT or software services.
REWARD_PAYMENTReward, bonus, or incentive payment.
INFLUENCER_PAYMENTPayment to a content creator or influencer.