SupportProduct Documentation
    • Introduction
    • URL Structure
    • API Key
    • Errors
    • Versioning
    • Pagination
    • Replication
    • Performance
    • Rate Limits
    • Webhooks
  • System Services
    • Companies
    • Hello World
  • Accounts
  • Ticketing
    • Getting started
    • Catalog
    • Capacity
    • Tickets
    • Reservations
    • Schedule
  • Memberships
    • Catalog
    • Membership
    • Member
    • Card
    • Payment Method
    • Lifecycle
    • Miscellaneous
    • Points
  • Speedgate
  • Attraction Wallet
  • POS
    • POS Sale
    • POS Unit
    • POS Store
    • Salesperson
    • External POS Sale
    • Global POS Entry
  • Inventory
    • Barcodes
    • Items
    • Item Ledger Entries
    • Item Categories
    • Item Variants
    • Item Translations
  • Coupon
  • Vouchers
    • Vouchers
  • Ecommerce
    • Sales Documents
  • Finance
    • General Ledger Account
    • General Ledger Entries
    • General Ledger Journal
  • NP Designer
LogoLogo
SupportProduct Documentation
MembershipsPayment Method

GET
https://api.npretail.app/:tenant/:environment/:company/membership/paymentmethods/:paymentMethodId
GET
/:tenant/:environment/:company/membership/paymentmethods/:paymentMethodId
1curl https://api.npretail.app/01234567-89ab-cdef-0123-456789abcdef/production/CRONUS%20International%20Ltd./membership/paymentmethods/a7b41af8-d187-48d9-89e0-a57c47039004 \
2 -H "Authorization: Bearer <apiKey>"
Try it
200ExampleGetPaymentMethod
1{
2 "paymentMethod": {
3 "accountId": "e2cfea9f-385e-4d83-8b50-42256885b03a",
4 "id": "a7b41af8-d187-48d9-89e0-a57c47039004",
5 "PANLastDigits": "1234",
6 "PSP": "Adyen",
7 "alias": "my main card",
8 "default": true,
9 "expiryDate": "2029-09-30",
10 "maskedPAN": "541333 **** 1234",
11 "paymentBrand": "visa",
12 "paymentInstrument": "Card",
13 "status": "Active"
14 }
15}
Was this page helpful?
Previous

Add payment method

Next
Built with
Retrieve a payment method by its ID.
Get payment method using Id

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

tenantstringRequired
Your Entra Tenant ID. [More details.](/paths#1-tenant)
environmentstringRequired
Your Business Central Environment. [More details.](/paths#2-environment)
companystringRequired
Your Business Central Company. [More details.](/paths#3-company)
paymentMethodIdUUIDRequired
Unique identifier for a payment method.

Headers

x-api-versiondateOptional
Used for API versioning. [More details.](/versioning)

Response

This endpoint returns an object.
paymentMethodobject
The PaymentMethodRetrieveDTO extends the PaymentMethodDTO and includes additional property - the payment method ID. This DTO is used when retrieving infromation about existing payment methods.
Unique identifier for a payment method.

Used for API versioning. More details.

Your Business Central Company. More details.

Your Entra Tenant ID. More details.

The PaymentMethodRetrieveDTO extends the PaymentMethodDTO and includes additional property - the payment method ID. This DTO is used when retrieving infromation about existing payment methods.

Your Business Central Environment. More details.