Skip to content

Stripe: Payment attempt records schemas

1 Stripe schema with complete fields and constraints.

← Payment attempt records operations · All schemas

Retrieve a Payment Attempt Record — response body

FieldTypePresenceDescription and constraints
$objectRootA Payment Attempt Record represents an individual attempt at making a payment, on or off Stripe.
Each payment attempt tries to collect a fixed amount of money from a fixed customer and payment
method. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record
can have guaranteed funds.
amountModelRequired within parentExpand Report a refund — response body — amount
amount_authorizedModelRequired within parentExpand Report a refund — response body — amount
amount_canceledModelRequired within parentExpand Report a refund — response body — amount
amount_failedModelRequired within parentExpand Report a refund — response body — amount
amount_guaranteedModelRequired within parentExpand Report a refund — response body — amount
amount_refundedModelRequired within parentExpand Report a refund — response body — amount
amount_requestedModelRequired within parentExpand Report a refund — response body — amount
applicationJSONOptional
application (anyOf 1)stringAlternativeID of the Connect application that created the PaymentAttemptRecord.
Maximum length: 5000
application (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
customer_detailsJSONOptional
customer_details (anyOf 1)JSONAlternativeCustomer information for this payment.
customer_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Report a refund — response body — customer details Customer information for this payment Information about the customer for this payment
customer_details (anyOf 2)nullAlternative
customer_presenceJSONOptional
customer_presence (anyOf 1)stringAlternativeIndicates whether the customer was present in your checkout flow during this payment.
Known values: off_session, on_session
customer_presence (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn arbitrary string attached to the object. Often useful for displaying to users.
Maximum length: 5000
description (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataobjectRequired within parentSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: payment_attempt_record
payment_method_detailsJSONOptional
payment_method_details (anyOf 1)JSONAlternativeInformation about the Payment Method debited for this payment.
payment_method_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Report a refund — response body — payment method details value ach credit transfer, ach debit, acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, billing details, bizum, blik, boleto, card, card present, cashapp, crypto, custom, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, kakao pay, klarna, konbini, kr card, link, mb way, mobilepay, momo, multibanco, naver pay, nz bank account, oxxo, p24, pay by bank, payco, payment method, paynow, paypal, paypay, payto, pix, promptpay, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, stripe account, sunbit, swish, twint, type, upi, us bank account, wechat, wechat pay, zip
payment_method_details (anyOf 2)nullAlternative
payment_recordJSONOptional
payment_record (anyOf 1)stringAlternativeID of the Payment Record this Payment Attempt Record belongs to.
Maximum length: 5000
payment_record (anyOf 2)nullAlternative
processor_detailsModelRequired within parentExpand Report a refund — response body — processor details
reported_bystringRequired within parentIndicates who reported the payment.
Known values: self, stripe
shipping_detailsJSONOptional
shipping_details (anyOf 1)JSONAlternativeShipping information for this payment.
shipping_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Report a refund — response body — shipping details Shipping information for this payment address, name, phone
shipping_details (anyOf 2)nullAlternative

Referenced models: Report a refund — response body — amount, Report a refund — response body — customer details Customer information for this payment Information about the customer for this payment, Report a refund — response body — payment method details value ach credit transfer, ach debit, acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, billing details, bizum, blik, boleto, card, card present, cashapp, crypto, custom, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, kakao pay, klarna, konbini, kr card, link, mb way, mobilepay, momo, multibanco, naver pay, nz bank account, oxxo, p24, pay by bank, payco, payment method, paynow, paypal, paypay, payto, pix, promptpay, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, stripe account, sunbit, swish, twint, type, upi, us bank account, wechat, wechat pay, zip, Report a refund — response body — processor details, Report a refund — response body — shipping details Shipping information for this payment address, name, phone

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.