PaymentAccount
Creates payment account by using a PCI proxy credit card token
<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-pci-credit-card-token
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-pci-credit-card-token
- 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"
},
"propertyId": "MUC",
"tokenType": "PciProxy",
"creditCardToken": "411111GGCMUJ1111",
"cvcToken": "1t28whJOQBSlqhUX26QjYjSO",
"payerEmail": "mr.king@test.com",
"cardHolder": "Douglas King",
"expiryMonth": "03",
"expiryYear": "2030",
"isVirtual": false,
"retryWithoutCvcOnCvcError": false
}Response
Created
Example response
{
"id": "UBMFXUFH"
}Changes
No operation changes recorded.