Create Payment Method
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
accountId
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
PSP
The payment service provider of the payment method.
Allowed values:
maskedPAN
The masked PAN of the card. The exact structure depends on the PSP.
PANLastDigits
The last 4 digits of the payment card number.
paymentToken
The shopper reference of the payment method.
paymentInstrument
The payment method type.
paymentBrand
The payment method brand.
expiryDate
The expiry date of the card.
alias
A short description that can be assigned to each payment method by the end user.
shopperReference
The shopper reference of the payment method.
membershipIds
Specifies which membership IDs the payment method should be applied to.
Response
This endpoint returns an object.
id
Unique identifier for a payment method.
PANLastDigits
The last 4 digits of the payment card number.
PSP
The payment service provider of the payment method.
Allowed values:
alias
A short description that can be assigned to each payment method by the end user.
default
Indicates whether the payment method should be set up as default.
expiryDate
The expiry date of the card.
maskedPAN
The masked PAN of the card. The exact structure depends on the PSP.
paymentBrand
The payment method brand.
paymentInstrument
The payment method type.
paymentToken
The shopper reference of the payment method.
shopperReference
The shopper reference of the payment method.
status
The status of the payment method.
Allowed values: