Pricing & booking
Read a payment attempt outcome
get/v1/trip/{trip_id}/payment_attempts/{payment_attempt_id}
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/trip/{trip_id}/payment_attempts/{payment_attempt_id}
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
trip_idstring required
payment_attempt_idstring required
Response
Payment attempt outcome
Example response
{
"trip_id": "trip_1048576",
"quote_id": "2097152",
"failure_reason": "booking_not_created",
"items": [
{
"booked_item_id": "itm_aaaaaaaaaaaaafhuxsdxpbzrbfz5hm3a",
"failure_reason": "booking_not_created"
}
],
"money": {
"authorized": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"captured": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"released": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"refunded": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"externally_reimbursed": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.