payments
Generates a payment link
post/v0/payments/link
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v0/payments/link
- Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: pms)
Headers
authorizationstring
Optional Access Token (bearer)
Example:Bearer aaaa.vbbbB.bbbb
Access Token (bearer)
x-api-keystring required
Api_key provided by ClubMed API team
Request body
Example request
{
"customer_id": "142536789",
"booking_id": "220209100",
"first_name": "Jean",
"last_name": "Dupont",
"expiration_date_time": "2022-04-15T10:23:00.234Z",
"email": "email@test.com",
"channel": "EMAIL",
"amount": 148.56,
"product_id": "SANC"
}Response
ok
Example response
{
"url": "https://www.pspUrl.com",
"method": "POST",
"payment_id": "BU-340-R-137667"
}Changes
No recorded changes to this operation across all 1 revision of this API.