Skip to main content
POST
/
api
/
transaction
/
initialize
Initialize transaction
curl --request POST \
  --url https://api.use3p.com/api/transaction/initialize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "currency": "<string>",
  "email": "<string>",
  "name": "<string>",
  "phone": "<string>",
  "product": "<string>",
  "product_description": "<string>",
  "provider": "flutterwave",
  "redirect_url": "<string>",
  "reference": "<string>"
}
'
{
  "reference": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Transaction initialization data

amount
number
currency
string
email
string
name
string
phone
string
product
string
product_description
string
provider
enum<string>
Available options:
flutterwave,
paystack
redirect_url
string
reference
string

Response

201 - application/json

Transaction initialized successfully

reference
string
url
string