Post http://getredpay.com/api/payment
HEADERS
Authorization* string
Pass your {secret_key} as a bearer token in the request header to authorize this call
BODY PARAMS
URL to redirect when a transaction is completed. Successful transactions redirects to this url after payment. {tx_ref} is returned, so you don't need to pass it with your url
Your transaction reference. This MUST be unique for every transaction.
This is the first_name of your customer.
This is the last_name of your customer.
This is the email address of your customer. Transaction notification will be sent to this email address
Currency to charge in. [ 'XOF', 'XAF', 'CAD', 'CVE', 'CDF', 'GMD', 'EUR', 'GHS', 'GNF', 'KES', 'LRD', 'MWK', 'MUR', 'MAD', 'NGN', 'QAR', 'RWF', 'SLL', 'ZAR', 'TZS', 'UGX', 'GBP', 'USD', 'ZMW' ]
Amount to charge the customer.
{
"title":"Title of payment",
"description":"Description of payment",
"logo":"https://assets.piedpiper.com/logo.png"
}
You can pass extra information here.