Skip to main content
POST
/
order
/
api-qr_code_link
QR Payment Link
curl --request POST \
  --url https://testapi.fractalpay.com/api/v1/order/api-qr_code_link \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "2.00",
  "merchant_key": "{{merchant_key}}",
  "order_id": "24400"
}
'
{
  "data": {
    "order_id": "24400",
    "qr_code_link": "https://testapi.fractalpay.com/authcheck-paymentlink/pqy8mwj4tjl",
    "sales_id": "c9d48e46-edbf-11ee-b78a-02fabd890500"
  },
  "message": "QR code URL has been created"
}

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:

"2.00"

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:

"24400"

Response

201 - application/json

QR Payment Link

data
object
message
string
Example:

"QR code URL has been created"