Wallet

Create transfer

Pay out from Main to a verified account. Secret key. 202 means accepted, not paid.

POST/v1/transfer
Accepted is not paid

A 202 means PayInvert has the transfer and has held the money. Only status: succeeded means the beneficiary was paid.

Every /v1 response has requestId and an X-Correlation-Id header. You can send your own (up to 100 characters of letters, digits, ., _, :, -) to tie calls to your logs. Quote it to support. Success is status: success / statusCode: 00. Errors use HTTP status plus a statusCode such as INSUFFICIENT_MAIN.

FieldRequiredNotes
Idempotency-Key headerYes1–150 printable characters, unique per transfer
referenceYesYour id, 1–100 of letters, digits, ., _, -. Unique forever, even after a failure.
amountMinorYesMust match the quote
currencyYesNGN
beneficiary.bankCode, accountNumberYesMust match the verification
beneficiary.verificationTokenYesFrom verify
quoteIdYesFrom quote
sourceWalletNoOnly main
narrationNoUp to 100 characters
metadataNoJSON object, up to 4 KB. Stored but not returned.

Idempotency and retries

You sendYou get
Same Idempotency-Key, same bodyThe original transfer, 200. Never debited twice.
Same key, different body409 IDEMPOTENCY_CONFLICT
New key, a reference already used, same bodyThe original transfer, 200
New key, a reference already used, different body409 REFERENCE_CONFLICT

“Same body” means the same reference, amount, currency, beneficiary, token, quoteId, narration, and metadata. Keys and references do not expire. A failed transfer still owns its reference — a new attempt needs a new reference and a new key.

Time-outs and 503

If create times out or returns 503, the outcome is unknown. Do not create a new transfer. Retry with the same Idempotency-Key, or look it up with GET by reference.

HTTPstatusCodeWhat to do
400VALIDATION_FAILEDFix missing Idempotency-Key, JSON, or query
422QUOTE_MISMATCH / VERIFICATION_MISMATCHGet a new quote or verify again
409QUOTE_EXPIRED / VERIFICATION_EXPIREDQuote is 10 min; token is 30 min
409LIMIT_EXCEEDEDdata has perTransferMaxMinor and/or dailyRemainingMinor
409INSUFFICIENT_MAINFund Main, then a new transfer with a new reference. Recorded as rejected.
403TRANSFERS_NOT_ENABLED / BUSINESS_RESTRICTEDContact support
429RATE_LIMITEDWait for Retry-After seconds
503TRANSFERS_PAUSED / PROVIDER_UNAVAILABLENothing was taken. Retry create with the same key.

Rate limits per secret key per minute: 60 reads, 30 for verify, quote, and create funding account, 20 for create transfer.