POST
/
consumers
/
{id}
/
offSessionPaymentMethods
Create off-session payment method for a consumer
curl --request POST \
  --url https://api.paygentic.io/v0/consumers/{id}/offSessionPaymentMethods \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "paymentMethod": "<string>",
  "returnUrl": "<string>"
}'
{
  "object": "offSessionPaymentMethodSetup",
  "setupUrl": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for an organization

Body

application/json

Response

201
application/json

Creates a session to authorize the off-session payment method

The response is of type object.