Skip to main content
POST
/
merchant
/
payment-request
Request Payment
curl --request POST \
  --url https://api.yourflexpay.com/v2/merchant/payment-request \
  --header 'Content-Type: application/json' \
  --data '
{
  "payer": "chixg",
  "reference": "{{$randomAlphaNumeric}}",
  "amount": 150,
  "comment": "T-shirt and polo",
  "metadata": {},
  "duration": 5
}
'

Headers

Body

application/json
payer
string
reference
string
amount
integer
comment
string
metadata
object
duration
integer

Response

201

Request Payment