PaymentAccount
Creates payment account based on an existing authorization created prior externally with the Payment Service Provider
<br>You must have this scope: 'payment-accounts.manage'.<br>For fine-grained clients, you must have this permission: 'core.payment_accounts.create'.
post/booking/v0-nsfw/payment-accounts/by-authorization
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/booking/v0-nsfw/payment-accounts/by-authorization
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: payment-accounts.manage, admin
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"target": {
"type": "Booking",
"id": "KYKXKLWL"
},
"transactionReference": "K9DTTJQD4HNG5S82"
}Response
Created
Example response
{
"id": "UBMFXUFH"
}Changes
No operation changes recorded.