curl --request POST \
--url https://api.paygentic.io/v0/consumers/{id}/offSessionPaymentMethods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"paymentMethod": "stripe",
"returnUrl": "<string>"
}'
{
"object": "offSessionPaymentMethod",
"setupUrl": "<string>"
}
curl --request POST \
--url https://api.paygentic.io/v0/consumers/{id}/offSessionPaymentMethods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"paymentMethod": "stripe",
"returnUrl": "<string>"
}'
{
"object": "offSessionPaymentMethod",
"setupUrl": "<string>"
}
API key authentication
Unique identifier for an organization
Off-session payment method setup created
The response is of type object
.