curl --request POST \
--url https://testapi.fractalpay.com/api/v1/requests/{customerId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "4.00",
"merchant_key": "{{merchant_key}}",
"order_id": "54514",
"preauth": true
}
'{
"data": {
"order_id": "54514",
"pay_link": "http://localhost:8082/pre-auth/bb40a9028ef7e65521bb4d21ee491437?amount=4.00&order_id=54514",
"sales_id": ""
},
"message": "Text request has been sent"
}Payment Collection Methods
Payment Request Customer
Payment Request Customer
POST
/
requests
/
{customerId}
curl --request POST \
--url https://testapi.fractalpay.com/api/v1/requests/{customerId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "4.00",
"merchant_key": "{{merchant_key}}",
"order_id": "54514",
"preauth": true
}
'{
"data": {
"order_id": "54514",
"pay_link": "http://localhost:8082/pre-auth/bb40a9028ef7e65521bb4d21ee491437?amount=4.00&order_id=54514",
"sales_id": ""
},
"message": "Text request has been sent"
}Authorizations
Path Parameters
Body
application/json