Skip to main content
POST
Opay Charge

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number<float>
required
externalReference
string
required

A unique ID of your liking to reconcile transactions internally.

currency
string

3-letter currency code. Defaults to NGN.

email
string

Customer's email address.

successRedirectUrl
string

The redirect url for a successful transaction

failureRedirectUrl
string

The redirect url for a failed transaction

Response

200

success
boolean
default:true
Example:

true

message
string
Example:

"Transaction initiated successfully."

data
object