Passa al contenuto principale

PaymentProviderData

Data of an attempt of the payment, as given by the payment provider: which fields are set, and their format, depend on the provider

payedboolean | nullnullablerequired

Whether the attempt was paid

authorization_tokenstring | nullnullablerequired

Id of the authorization or of the order at the provider

authorization_codestring | nullnullablerequired

Authorization code of the transaction at the provider

statusstring | nullnullablerequired

Status of the attempt at the provider, for example OK or COMPLETED

status_codestring | nullnullablerequired

Result code of the provider, for example 0 or DECLINED; THRESHOLD_EXCEEDED when the attempt was refused for the payment limits

messagestring | nullnullablerequired

Message of the provider about the result

payer_namestring | nullnullablerequired

First name of the payer, as given by the provider

payer_surnamestring | nullnullablerequired

Surname of the payer, as given by the provider

payer_emailstring | nullnullablerequired

Email address of the payer, as given by the provider

bank_issuerstring | nullnullablerequired

Bank of the payer: the issuer of the card or the bank of the transfer

creditcard_panstring | nullnullablerequired

Number of the card, masked or reduced to the last digits

creditcard_issuerstring | nullnullablerequired

Brand of the card, for example VISA, MASTERCARD or AMEX

creditcard_expirationstring | nullnullablerequired

Expiry of the card as YYYY-MM-DD, the last day of its month; for the methods without a card, the expiry set for the authorization

regionstring | nullnullablerequired

Area of the card or of the payment, for example EUROPE or SEPA

transaction_typestring | nullnullablerequired

Type of the transaction at the provider, for example NO_3DSECURE, DEBIT or TRF (transfer)

payment_typestring | nullnullablerequired

Type of the payment at the provider, for example PAYMENT_METHOD_TOKEN or CARD; Storno for a payment created by the cancellation of another one

payment_datedate-timenullablerequired

When the transaction took place at the provider

product_typestring | nullnullablerequired

Product of the card as given by the provider, for example VISA

nationalitystring | nullnullablerequired

Country of the card or of the payer, as an ISO 3166-1 alpha-2 or alpha-3 code depending on the provider

PaymentProviderData
{
"payed": true,
"authorization_token": "string",
"authorization_code": "string",
"status": "string",
"status_code": "string",
"message": "string",
"payer_name": "string",
"payer_surname": "string",
"payer_email": "string",
"bank_issuer": "string",
"creditcard_pan": "string",
"creditcard_issuer": "string",
"creditcard_expiration": "string",
"region": "string",
"transaction_type": "string",
"payment_type": "string",
"payment_date": "2024-07-29T15:51:28.071Z",
"product_type": "string",
"nationality": "string"
}