PaymentAccountActions

Sets payment account details

<br>You must have this scope: 'payments.admin'.<br>For fine-grained clients, you must have this permission: 'core.payment_accounts.commit'.

put/booking/v0-nsfw/payment-account-actions/{paymentAccountId}/set-details

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/booking/v0-nsfw/payment-account-actions/{paymentAccountId}/set-details
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize
    Scopes: payments.admin, admin

Path parameters

paymentAccountIdstring required

The identifier of the payment account

Request body

paymentTransactionIdstring nullable

Transaction Id of payment account in the payment service payment transaction log Should match payment account Transaction Id if it has been already set, otherwise it will be used to set the Transaction Id of the payment account

payerReferencestring required

The reference used to uniquely identify the shopper (e.g. user ID or account ID).

storedPaymentMethodIdstring required

The stored payment method id

Example request

{
  "paymentTransactionId": "VT6G6BFUR6XE5MHZARAX2ODK7Y",
  "accountDetails": {
    "accountNumber": "1111",
    "accountHolder": "John Doe",
    "expiryMonth": "8",
    "expiryYear": "2018",
    "paymentMethod": "visa",
    "payerEmail": "s.hopper@test.com"
  },
  "payerReference": "E2419238-4E0F-4AFF-954B-FF2B7935452F",
  "storedPaymentMethodId": "K9DTTJQD4HNG5S82"
}

Response

No Content

Changes

No operation changes recorded.