Which of the following is a correct pairing of a Stripe object prefix and its corresponding object type?

Master the Stripe Fundamentals Exam with engaging flashcards and multiple choice questions. Each quiz question includes detailed explanations to enhance your understanding. Prepare effectively and ace your exam!

Multiple Choice

Which of the following is a correct pairing of a Stripe object prefix and its corresponding object type?

Explanation:
Stripe IDs use prefixes that indicate the type of object they represent. A prefix pi_ points to a PaymentIntent, so pairing pi_ with Payment Intent is the correct match. This prefixing scheme helps you quickly recognize what kind of resource you’re looking at just from the ID. BalanceTransaction uses the txn_ prefix, not cus_. Customers use the cus_ prefix, and Refunds use the re_ prefix. The other options mix these prefixes with the wrong object types, whereas the correct pairing follows Stripe’s usual ID conventions.

Stripe IDs use prefixes that indicate the type of object they represent. A prefix pi_ points to a PaymentIntent, so pairing pi_ with Payment Intent is the correct match. This prefixing scheme helps you quickly recognize what kind of resource you’re looking at just from the ID.

BalanceTransaction uses the txn_ prefix, not cus_. Customers use the cus_ prefix, and Refunds use the re_ prefix. The other options mix these prefixes with the wrong object types, whereas the correct pairing follows Stripe’s usual ID conventions.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy