Payment instrument modifiedWebhook

SecuritySecretApiKey or JWT
Request
Request Body schema: application/json

Payment instrument webhook request body resource.

paymentInstrumentId
string

ID of the payment instrument.

eventType
string

Type of webhook event.

Value: "payment-instrument-modified"
object
any (PaymentInstrument)
id
string <= 50 characters

ID of the payment instrument.

customerId
string (CustomerId) <= 50 characters

Customer resource ID.

method
string

Method of payment instrument.

status
string

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.

Enum: "active" "inactive" "expired" "deactivated" "verification-needed"
fingerprint
string

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.

bin
string <bin>

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).

last4
string

Last 4 digits of the associated Primary Account Number (PAN).

expYear
integer

Expiration year of the payment card.

expMonth
integer

Expiration month of the payment card.

brand
string

Brand of payment card.

Enum: "Visa" "MasterCard" "American Express" "Discover" "Maestro" "Solo" "Electron" "JCB" "Voyager" "Diners Club" … 4 more
bankCountry
string

Bank country of the payment instrument.

bankName
string

Bank name of the payment instrument.

object

Contact's billing address.

useAsBackup
boolean (UseAsBackup)
Default: false

Specifies if this payment instrument can be used as a backup for invoice payment retries.

billingPortalUrl
string

URL of the billing portal where the card can be updated.

createdTime
string <date-time> (CreatedTime)

Date and time which is set automatically when the resource is created.

updatedTime
string <date-time> (UpdatedTime)

Date and time which updates automatically when the resource is updated.

customFields
object (ResourceCustomFields)
Default: {}

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.

stickyGatewayAccountId
string or null

Sticky gateway account ID. All future payments are processed by this gateway account.

For more information, see Gateway routing.

expirationReminderTime
string or null <date-time>

Date and time when an expiration reminder event is triggered.

expirationReminderNumber
integer or null

Number of expiration reminder events that have triggered.

object

Payment instrument reference data.

digitalWallet
string or null

Digital wallet type.

Enum: "Apple Pay" "Google Pay"
object (Risk metadata)

Risk metadata used for 3D Secure and risk scoring.

Array of objects

Related links.

object

Embedded objects that are requested by the expand query parameter.

Array of objects

Related links.

Array
href
string

Link URL.

rel
string

Type of link.

Value: "paymentInstrument"
Responses
2xx

Returns any 2xx status to indicate that the data received.

Request samples
application/json
{
  • "paymentInstrumentId": "string",
  • "eventType": "payment-instrument-modified",
  • "_embedded": {
    },
  • "_links": [
    ]
}