Skip to main content

Get Payment Option

GET 

/accounts/:customerAccountId/paymentOptions/:storedPaymentOptionReference

Retrieves a specific payment option identified by the reference parameter. This endpoint is useful when only a single payment option needs to be queried, without fetching all stored options.

Request

Path Parameters

    customerAccountId stringrequired

    Possible values: <= 255 characters

    Customer identifier

    storedPaymentOptionReference stringrequired

    Unique identifier for the stored payment option to be retrieved

Header Parameters

    Content-Type stringrequired

    Must be application/json

    Accept-Language stringrequired

    Must be be en-US

    Origin stringrequired

    The origin of the request

    User-Agent stringrequired

    The client making the request

Responses

Payment option successfully retrieved.

Schema

    result

    object[]

    List of one payment option object matching the reference.

  • Array [

  • name string

    Possible values: <= 128 characters

    Name of the payment option provider (e.g., Visa, Mastercard, PayPal).

    code string

    Possible values: <= 32 characters

    Internal payment option code identifying the payment method type.

    carrierNumber stringnullable

    Possible values: <= 32 characters

    Masked card number or account identifier (e.g., IBAN, card PAN).

    reference string

    Possible values: <= 64 characters

    Unique reference ID of the stored payment option.

    isDefault boolean

    Indicates whether this is the default payment option for the account.

    isExpired boolean

    Indicates whether the payment option is expired.

    expiresSoon boolean

    Indicates whether the payment option is approaching expiry.

    expiryDate stringnullable

    Possible values: <= 7 characters, Value must match regular expression MM/yyyy

    Expiration date of the payment option if applicable.

  • ]

Loading...