curl --request POST \
--url https://testapi.fractalpay.com/api/v1/requests \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_key": "{{merchant_key}}",
"amount": "10.00",
"order_id": "5467",
"phone_number": "7777771234",
"email": "customer@example.com",
"allow_card": true,
"allow_ach": true
}
'{
"message": "Authorization request has been sent",
"data": {
"order_id": "5467",
"link_id": "gsgqll4xfa7",
"pay_link": "https://testapi.fractalpay.com/authcheck-paymentlink/gsgqll4xfa7"
}
}Payment Collection Methods
Payment Request
Payment Request
POST
/
requests
curl --request POST \
--url https://testapi.fractalpay.com/api/v1/requests \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_key": "{{merchant_key}}",
"amount": "10.00",
"order_id": "5467",
"phone_number": "7777771234",
"email": "customer@example.com",
"allow_card": true,
"allow_ach": true
}
'{
"message": "Authorization request has been sent",
"data": {
"order_id": "5467",
"link_id": "gsgqll4xfa7",
"pay_link": "https://testapi.fractalpay.com/authcheck-paymentlink/gsgqll4xfa7"
}
}Authorizations
Body
application/json