Skip to main content

Retrieve a Single Buyer's Payment Token

GET 

/buyers/{buyerId}/paymentTokens/{paymentTokenId}

Retrieves a single payment token of a Buyer.

Request

Path Parameters

    buyerId BuyerIdrequired

    Possible values: <= 255 characters

    Unique identifier of the customer in your system.

    paymentTokenId uuidrequired

    Represents a customer bank account in the Nuvei system.

Responses

OK

Schema

    paymentToken

    object

    paymentTokenId uuidrequired
    cccId Credit Card Company ID (integer)

    ID of card in the Gateway. Values: 1 = VISA | 2 = MasterCard | 3 = Amex | 4 = Diners | 5 = JCB | 6 = Discover

    paymentOption

    object

    required

    card

    object

    cardHolderName CardHolderName (string)

    Possible values: <= 70 characters

    The card holder name.

    maskedCardNumber CardNumberMasked (string)

    Possible values: <= 20 characters

    The masked credit card number.

    bin CardBIN (string)

    Possible values: <= 6 characters

    The first six digits from the credit card number for identifying the processing bank. The rest of the number is not displayed.

    expirationMonth Card Expiration - Month (string)required

    Possible values: >= 2 characters and <= 2 characters, Value must match regular expression ^(0[1-9]|1[0-2])$

    The card expiration month.

    expirationYear Card Expiration - Year (string)required

    Possible values: >= 2 characters and <= 4 characters, Value must match regular expression ^(\d{4}|\d{2})$

    The card expiration year.

    cardType CardType (string)

    Possible values: [Credit, Debit]

    The type of card used in the transaction.

    cardBrand CardBrand (string)

    Possible values: [VISA, MASTERCARD, AMEX, DINERS]

    The card brand used in the transaction.

    cardProduct string
    cardProgram string
    cardProductType string
    isPrepaid boolean

    Indicates if the card is prepaid or not.

    issuingCountry Country Code (string)

    Possible values: >= 2 characters and <= 2 characters

    isVirtual boolean
    isDynamicCurrencyConversionSupported boolean

    alternativePaymentMethod

    object

    name string

    Possible values: non-empty and <= 50 characters

    data

    object

    property name* string
    buyerId BuyerId (string)

    Possible values: <= 255 characters

    merchantReference Merchant Reference for Payment Token (string)

    Possible values: <= 50 characters

    Merchant Reference for a business entity (token, subscription, etc.)

    processingEntityId uuidrequired

    Processing entityId provided by Nuvei.

    usageIntent declared MIT usage for the payment token (string)

    Possible values: [recurring, unscheduled]

    result

    object

    required

    status stringrequired

    Possible values: [success, error]

    errors

    object

    code string

    Possible values: <= 11 characters

    reason string

    Possible values: <= 400 characters

Loading...