- Retrieve a payment instrument
Retrieves a payment instrument with a specified ID.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/payment-instruments/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/payment-instruments/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/payment-instruments/{id}
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/payment-instruments/{id}' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Payment instrument retrieved.
ID of the payment instrument.
ID of the customer resource.
Status of the payment instrument. An active status means that a payment instrument has been used at least once for an approved transaction. To remove an instrument from use, set this value to deactivated.
For more information, see Deactivate a payment instrument.
Unique value that is used to identify the payment instrument. This value is generated from the bin and the last4 values. This value contains alphanumeric characters.
Bank Identification Number (BIN) of the payment card. This value is the same as the first 6 digits of the associated Primary Account Number (PAN).
Last 4 digits of the Funding Primary Account Number (FPAN) of the payment card. This value is only present for payment cards created from digital wallet tokens, where the FPAN is the physical card number visible to the cardholder, as opposed to the Device Primary Account Number (DPAN) used in the digital wallet transaction.
Brand of payment card.
Specifies if payouts are supported for cards with this BIN. Defaults to true. This value is false if the BIN does not support payouts.
Specifies if this payment instrument can be used as a backup for invoice payment retries.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Date and time of the last approved payment. Payments are the result of sale or capture transactions.
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
ID of the sticky gateway account. All future payments are processed by this gateway account.
For more information, see Gateway routing.
Date and time when an expiration reminder event is triggered.
Number of expiration reminder events that have triggered.
Digital wallet type.
Number of times the payment instrument data has been modified.
Use this value when analyzing webhook data to determine if a change must take precedence over the current representation.
- payment-card
- ach
- paypal
- Khelocard
- cash
- check
- AdvCash
- Alfa-click
- Alipay
- AstroPay Card
- AstroPay-GO
- BankReferenced
- bank-transfer
- bank-transfer-2
- bank-transfer-3
- bank-transfer-4
- bank-transfer-5
- bank-transfer-6
- bank-transfer-7
- bank-transfer-8
- bank-transfer-9
- Baloto
- Beeline
- Belfius-direct-net
- bitcoin
- Bizum
- Boleto
- cash-deposit
- CASHlib
- CashToCode
- China UnionPay
- Cleo
- CODVoucher
- Conekta-oxxo
- Cupon-de-pagos
- cryptocurrency
- domestic-cards
- ecoPayz
- ecoVoucher
- Efecty
- EPS
- ePay.bg
- eZeeWallet
- FasterPay
- Flexepin
- Giropay
- Gpaysafe
- Google Pay
- iDebit
- iDEAL
- ING-homepay
- INOVAPAY-pin
- INOVAPAY-wallet
- InstaDebit
- instant-bank-transfer
- InstantPayments
- Interac
- Interac-online
- Interac-eTransfer
- invoice
- iWallet
- Jeton
- jpay
- Klarna
- KNOT
- loonie
- Matrix
- MaxiCash
- Megafon
- MiFinity-eWallet
- miscellaneous
- Bancontact
- Bancontact-mobile
- MTS
- MuchBetter
- Multibanco
- Neosurf
- Netbanking
- Neteller
- Nordea-Solo
- OchaPay
- online-bank-transfer
- Onlineueberweisen
- oriental-wallet
- OXXO
- P24
- Pagadito
- PagoEffectivo
- Pagsmile-deposit-express
- Pagsmile-lottery
- PayCash
- Payeer
- PaymentAsia-crypto
- Paymero
- Perfect-money
- Piastrix
- plaid-account
- PayTabs
- Paysafecard
- Paysafecash
- Pay4Fun
- Paynote
- PinPay
- phone
- PhonePe
- POLi
- PostFinance-card
- PostFinance-e-finance
- QIWI
- QPay
- QQPay
- rapyd-checkout
- Resurs
- SafetyPay
- SEPA
- Skrill
- Skrill Rapid Transfer
- SMSVoucher
- Sofort
- SparkPay
- swift-dbt
- Tele2
- Terminaly-RF
- ToditoCash-card
- Trustly
- UPayCard
- UPI
- USD-coin
- VCreditos
- VenusPoint
- voucher
- voucher-2
- voucher-3
- voucher-4
- Webmoney
- Webpay
- Webpay-2
- Webpay Card
- WeChat Pay
- XPay-P2P
- XPay-QR
- Yandex-money
- Zotapay
- Zimpler
{ "id": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "method": "payment-card", "status": "active", "fingerprint": "string", "bin": "string", "last4": "string", "fpanLast4": "string", "expYear": 0, "expMonth": 0, "brand": "Visa", "bankCountry": "string", "bankName": "string", "isPayoutable": true, "billingAddress": { "firstName": "Benjamin", "lastName": "Franklin", "organization": "Rebilly", "address": "36 Craven St", "address2": "string", "city": "Austin", "region": "Texas", "country": "GB", "postalCode": "WC2N 5NF", "phoneNumbers": [ … ], "emails": [ … ], "dob": "1980-04-01", "jobTitle": "CEO", "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221" }, "useAsBackup": false, "billingPortalUrl": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "lastPaymentTime": "2019-08-24T14:15:22Z", "customFields": { "foo": "bar" }, "stickyGatewayAccountId": "string", "expirationReminderTime": "2019-08-24T14:15:22Z", "expirationReminderNumber": 0, "referenceData": { "gatewayTransactionId": "GAT123" }, "digitalWallet": "Apple Pay", "riskMetadata": { "ipAddress": "93.92.91.90", "fingerprint": "pIUt3xbgX3l9g3YDiLbx", "httpHeaders": { … }, "browserData": { … }, "extraData": { … }, "isProxy": true, "isVpn": true, "isTor": true, "isHosting": true, "hostingName": "string", "isp": "string", "country": "US", "region": "NY", "city": "New York", "latitude": 0.1, "longitude": 0, "postalCode": "string", "timeZone": "America/New_York", "accuracyRadius": 0, "distance": 0, "hasMismatchedBillingAddressCountry": true, "hasMismatchedBankCountry": true, "hasMismatchedTimeZone": true, "hasMismatchedHolderName": true, "hasFakeName": true, "isHighRiskCountry": true, "paymentInstrumentVelocity": 0, "declinedPaymentInstrumentVelocity": 0, "deviceVelocity": 0, "ipVelocity": 0, "emailVelocity": 0, "billingAddressVelocity": 0, "paymentInstrumentApprovedTransactionCount": 0, "score": 0 }, "revision": 0, "_links": [ { … } ], "_embedded": { "customer": {} } }