POST
/
transactions
/
{id}
/
token
curl --request POST \
  --url https://sandbox-api.fedapay.com/v1/transactions/{id}/token \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Transaction ID.

Response

200
application/json
Payment link generated successfully.
token
string

The generated payment token.

url
string

The payment link URL.