Checkout
Read Checkout
Returns the checkout details.
get/checkout/{checkout_id}
Request
- Base URLhttps://sandbox.affirm.com/api/v2
- URLhttps://sandbox.affirm.com/api/v2/checkout/{checkout_id}
- AuthHTTP basic
Path parameters
checkout_idstring required
A checkout_token that represents the purchase and customer information on purchase (e.g tokenization).
Response
HTTP 200 OK
Example response
{
"billing_frequency": "monthly",
"currency": "USD",
"meta": {
"user_timezone": "America/Los_Angeles",
"_affirm_tracking_uuid": "356a483a-86b2-4846-b6f2-70d37d95a78c"
},
"total": 49999,
"financial_program_name": "standard_3_6_12",
"checkout_flow_type": "classic",
"billing": {
"phone_number": "1234567890",
"email": "test@example.com"
},
"shipping_amount": 400,
"api_version": "v2",
"metadata": {
"checkout_channel_type": "online",
"mode": "redirect"
},
"order_id": "ABC123",
"mfp_rule_input_data": {
"total": 49999,
"metadata": {
"checkout_channel_type": "online",
"mode": "redirect"
}
},
"loan_type": "classic",
"chekcout_type": "merchant",
"shipping": {
"name": {
"full": "John Doe",
"first": "John",
"last": "Doe"
},
"address": {
"city": "San Francisco",
"country": "USA",
"line1": "123 Example Street",
"line2": "Apt 123",
"state": "CA",
"zipcode": "94107"
},
"email": "test@example.com",
"phone_number": "1234567890"
},
"merchant_external_reference": "ab-12345"
}Changes
No recorded changes to this operation across all 1 revision of this API.