POST
/
consumers
/
{id}
/
offSessionPaymentMethods
Create off-session payment method
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>"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Unique identifier for an organization

Body

application/json

Response

201
application/json

Off-session payment method setup created

The response is of type object.