Creates a new Payment Request for collecting payments from customers.
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
sk_test_* for development and testingsk_* for production environmentspk_test_* or pk_* for client-side operations📩 Need access? Contact Support to request your API keys.
Usage:
Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dcA unique key to prevent duplicate operations. Use the same key for retries to ensure idempotent behavior.
Best Practices:
Idempotent-Replayed header for cache hits1 - 255Request payload for creating a new Payment Request.
If type is omitted, it defaults to link.
expires_at defaults to 24h (see ExpiresAt).expires_at defaults to 2 minutes (see ExpiresAt).The amount to be charged in the smallest currency unit. For example, 20.00 ZAR is represented as 2000 cents. Learn more about minor units.
1000
The ISO 4217 currency code for the payment.
"ZAR"
link External reference for reconciliation or tracking purposes. Must be unique within your merchant account.
255"INV-2024-001"
Human-readable description of what the payment is for
500"Product purchase"
ISO 8601 timestamp indicating when the Payment Request expires.
Defaults (if not provided):
type=link or omitted): 24 hours from created_attype=push): 2 minutes from created_atMust be in the future when creating or updating.
"2025-06-17T10:30:00Z"
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. NEW Limitations:
{
"customer_id": "cust_123456",
"order_id": "ord_789012"
}Payment Request created successfully
A Payment Request represents a request for payment that can be shared via a link or sent to a banking app for authorization and Payment.
Unique identifier for the Payment Request.
"pr_6phg74i4jG9wbzZbFDUQB"
Delivery mode of the payment request.
link, push Current status of the Payment Request.
active, paid, expiredactive, paid, expired, failedactive, paid, expired, failed "active"
The amount to be charged in the smallest currency unit. For example, 20.00 ZAR is represented as 2000 cents. Learn more about minor units.
1000
The ISO 4217 currency code for the payment.
"ZAR"
ISO 8601 timestamp when the resource was created
"2025-06-16T10:30:00Z"
ISO 8601 timestamp when the resource was last updated
"2025-06-16T10:30:00Z"
Associated payment ID when the request has been paid.
"p_xyz789abc123def456"
External reference for reconciliation or tracking purposes. Must be unique within your merchant account.
255"INV-2024-001"
ISO 8601 timestamp indicating when the Payment Request expires.
Defaults (if not provided):
type=link or omitted): 24 hours from created_attype=push): 2 minutes from created_atMust be in the future when creating or updating.
"2025-06-17T10:30:00Z"
Human-readable description of what the payment is for
500"Product purchase"
Details for link-based payment requests.
Details for push (bank) payment requests. Uses a provider-specific sub-object. Beta — only Capitec is supported.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. NEW Limitations:
{
"customer_id": "cust_123456",
"order_id": "ord_789012"
}