Afihan checkout

Afihan checkout with card and bank transfer payment. Initializes a payment transaction and returns a checkout link. The customer is redirected to the checkout page to complete payment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
number
required

The amount to charge (in kobo/minor units, minimum 100)

string
required

The customer's email address

string

The customer's name (optional)

string

Description of the payment (optional)

string

Fully qualified url, e.g. https://example.com/ .

string

Custom payment reference (optional, auto-generated if not provided)

paymentMethods[]
array of strings

Accepted payment methods for this transaction. If not provided, all methods (CARD, ACCOUNT_TRANSFER and USSD) are enabled by default.

paymentMethods[]
Allowed:
metadata[]
object

Stringified JSON object of custom data.

Responses

400

Bad request

401

Unauthorized

500

Internal server error

default

Unexpected error

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json