Create Payment Intent
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
External Reference
externalReference: string (length ≤ 255)
External reference for the paymentamount: integer (required, 1 to 9999999)
Amount in minor units (pence for GBP)currency: const (required)
Allowed:GBPmetadata: object
Additional metadata for the paymentpaymentInitiatorId: uuid (required)
The payment initiator ID (integration ID) to use for this paymentoffSession: const (required)
Allowed:true
Whether or not the payment is an 'off session' payment.shippingAddress: object
Address information for shipping or billingbillingAddress: object
Address information for shipping or billinglineItems: array | null
Array of line items, each being either airline, car rental, lodging, or product datapaymentMethodId: string (required)
The payment method ID to charge for this payment.accept: string (enum)
Defaults to application/json
Allowed:application/json,application/problem+json
Responses
- ``200 Initiate a payment intent
- ``400 Bad Request
- ``401 Unauthorized
- ``402 Payment Required
- ``403 Forbidden
- ``404 Not Found
- ``500 Internal Server Error
Example Request
curl --request POST \
--url https://api.superpayments.com/2026-04-01/payments \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"currency": "GBP",
"offSession": true,
"shippingAddress": {
"addressLine1": null,
"addressLine2": null,
"addressLine3": null,
"city": null,
"country": null,
"postCode": null,
"firstName": null,
"lastName": null,
"phone": null,
"email": null
},
"billingAddress": {
"addressLine1": null,
"addressLine2": null,
"addressLine3": null,
"city": null,
"country": null,
"postCode": null,
"firstName": null,
"lastName": null,
"phone": null,
"email": null
}
}'
Response Examples
application/jsonapplication/problem+json200400401402403404500
Updated 3 months ago