Skip to main content
POST
Submit Card Details

Authorizations

client-id
string
header
required
client-secret
string
header
required

Body

application/json

Card payment request

provider
string
required

Card provider slug.

Example:

"card-nigeria"

amount
integer<int64>
required

Amount should be sent in the lowest denomination. See Amount Specification.

Example:

100000

card
object
required
reference
string

A reference code you'll generate to identify this transaction. This must be unique for every transaction. If you don't pass one, we will generate one for you.

Example:

"ORDER-1001"

redirectURL
string<uri>

Fully qualified URL to which the customer should be redirected after the payment is completed.

Example:

"https://yourapp.com/payment/complete"

webhook
string<uri>

This is a URL, if this is passed we will send the event webhook payload to this endpoint. Use this to override the webhook url provided on the dashboard for this transaction.

Example:

"https://yourapp.com/webhooks/payfonte"

Response

Card payment requires the customer PIN or verification.

statusCode
integer
required

Application status code returned in the response body.

Example:

200

data
object
required