Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Request & Response Format

Format On/Off Ramp JSON requests, identifiers and amounts correctly and interpret endpoint-specific API responses.

Send JSON bodies with Content-Type: application/json. Send numeric amounts as JSON numbers and identifiers, references and account numbers as strings. Keep leading zeros in account numbers.

Use a UUID for transaction references, for example 8fe17652-89a8-47f8-8ef4-50ea16908c21. Generate and save a new UUID for each intended transaction. Values such as unique-ref-123 are not valid UUIDs.

Names must be real personal names, not URLs, markup or scripts. Use international phone-number format (for example +27821234567) and a valid customer email. Follow each endpoint's required and optional field table; do not send undocumented fields.

Build the request URL

Endpoint summaries use /v1/.... Append that path to https://ramp-api.ivorypay.io/api: for example, GET /v1/banks/NGN becomes https://ramp-api.ivorypay.io/api/v1/banks/NGN. Full URLs and paths beginning /api/v1 already include the gateway prefix; do not add it twice.

Success response

{
  "success": true,
  "message": "Query successful",
  "data": {}
}
Field
Meaning

success

Whether this API request succeeded

message

Human-readable message; not a stable programmatic code

data

Endpoint-specific object, array or scalar; may be absent

meta

Optional metadata; do not assume pagination counts are present

The HTTP status is in the response status line. There is no statusCode in the success envelope. A transaction's own status appears inside its data and is separate from success.

HTTP status codes

Code
Typical meaning

200

Successful read or update

201

Accepted creation or confirmation request; payment may still be pending

400 / 422

Invalid input or business-rule rejection

401

Missing, invalid or wrong credential type

403

The caller or account cannot perform this action

404

No matching resource in the caller's scope

409

Conflict or duplicate operation

429

Too many requests

5xx

Server or dependency failure; reconcile payment requests before retrying

See errors and safe retries for optional diagnostics and recovery behavior, and pagination for list responses.

Customer names

Use the customer's real personal name. Unicode letters and normal name separators (spaces, apostrophes and hyphens) are supported. URLs, email addresses, HTML/script characters and numeric identifiers do not belong in first/last-name fields. Put the email in email and your reference in its dedicated field.

Last updated