Skip to main content
POST
/
v1
/
collection
/
initialise
Initialize Collection Request
curl --request POST \
  --url https://api.useglyde.co/v1/collection/initialise \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currency": "NGN",
  "reference": "order_12345678",
  "amount": 10000,
  "customer": {
    "name": "John Doe",
    "email": "[email protected]",
    "phone": "08012345678"
  },
  "channels": [
    "card_payment"
  ],
  "default_channel": "card_payment",
  "meta": {}
}
'
{
  "status": "success",
  "message": "Collection Request created successfully",
  "data": {
    "url": "https://pay.useglyde.io/f369f561-aaa4-4701-aeb1-ce79f438efc1"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
currency
string
required
Example:

"NGN"

reference
string
required
Example:

"order_12345678"

amount
integer
required
Example:

10000

customer
object
required
channels
enum<string>[]
required
Available options:
card_payment,
bank_transfer
default_channel
enum<string>
Available options:
card_payment,
bank_transfer
meta
object

Response

200 - application/json

Success

status
string
Example:

"success"

message
string
Example:

"Collection Request created successfully"

data
object