{
"id": "string",
"code": "string",
"source": "string",
"message": "string",
"amount": 0,
"currency": "string",
"status": "requires_payment_method",
"customer_id": "string",
"customer": {
"phone": "+1234567890",
"merchant_customer_id": "cust_merchant_123456"
},
"description": "string",
"order": {
"category": "string",
"products": [
{
"desc": "string",
"effective_end_at": "string",
"effective_start_at": "string",
"name": "string",
"quantity": 0,
"seller": {
"identifier": "string",
"name": "string"
},
"sku": "string",
"type": "string",
"price": 0,
"url": "string"
}
],
"shipping": {
"name": "John Doe",
"phone": "+1234567890",
"address": {
"line1": "123 Main Street",
"line2": "Apartment 4B",
"city": "New York",
"state": "NY",
"postcode": "10001",
"country": "US"
}
}
},
"metadata": {},
"confirm": true,
"auto_capture": true,
"merchant_order_id": "string",
"invoice_id": "string",
"captured_amount": 0,
"available_payment_method_types": [
"string"
],
"payment_method_options": {
"type": "card",
"card": {
"authorization_type": "string",
"auto_capture": true,
"three_ds_action": "string"
}
},
"cancellation_reason": "string",
"cancelled_at": "string",
"next_action": {
"type": "string",
"redirect": {
"contentType": "string",
"method": "string",
"url": "string"
},
"alipay_redirect": {
"native_data": "string",
"native_url": "string",
"return_url": "string",
"url": "string"
},
"alipay_qrcode_display": {
"data": "string",
"hosted_instructions_url": "string",
"image_data_url": "string",
"image_url_png": "string",
"image_url_svg": "string"
},
"oxxo_display": {
"expires_after": "string",
"hosted_voucher_url": "string",
"number": "string"
},
"boleto_display": {
"expires_at": "string",
"hosted_voucher_url": "string",
"number": "string",
"pdf": "string"
},
"dcc_data": {
"amount": 0,
"client_rate": 0,
"currency": "string",
"currency_pair": "string",
"rate_expiry": "string",
"rate_timestamp": "string"
},
"data": {}
},
"return_url": "string",
"client_secret": "string",
"payment_method_id": "string",
"mandate_id": "string",
"app_id": "string",
"merchant_no": "string",
"create_at": "string",
"modify_at": "string",
"last_payment_error": {
"last_payment_error": {
"code": "string",
"decline_code": "string",
"message": "string",
"type": "card_error"
}
}
}