Skip to main content
POST
/
pay-link
Create Payment Link
curl --request POST \
  --url https://testapi.fractalpay.com/api/v1/pay-link \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "4.55",
  "merchant_key": "{{merchant_key}}",
  "order_id": "22111fdz"
}
'
{
  "data": {
    "order_id": "22111fdz",
    "payment_link": "https://testapi.fractalpay.com/authcheck-paymentlink/u6j3garacoj",
    "sales_id": "c2e0adab-55b5-11ef-af4e-0ef0812e6179"
  },
  "message": "Quick Pay Order created successfully.",
  "result": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.fractalpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your Fractal API credentials.

Username = Client ID Password = Secret Key

Sandbox credentials can be generated from the Test Portal.

Body

application/json
amount
string
required
Example:

"4.55"

merchant_key
string
required

The merchant's unique key. Returned in the merchant_key field of the get merchants by client call.

Example:

"{{merchant_key}}"

order_id
string
required
Example:

"22111fdz"

Response

201 - application/json

Create Link

data
object
message
string
Example:

"Quick Pay Order created successfully."

result
boolean
Example:

true