Contract 4d1e0ad · updated 2026-11-11
Lissen Ticketing

Checkout sessions

Try itPOST https://pr-7147-ticketing-api.erik-1c8.workers.dev/v1/checkout_sessions

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing line_items)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

line_items*array<>

The WHOLE new cart, never a delta: the engine is the sole cart authority and an update states the cart it wants.

Items1 <= items <= 50
codes?array<>
Itemsitems <= 10
offer?

A checkout-specific offer from your trusted backend, priced by the same engine as a discount code and bound to THIS session only: catalog prices do not change and the buyer sees it applied without typing a code. Best price wins against membership pricing (the member percentage is never applied again to the offer price); it stacks with ordinary codes exactly as a code of its kind would. Refused with checkout_offer_not_applicable if it covers no line or is in another currency. Retries with the same Idempotency-Key replay one session. Partner-plane only: a buyer-plane request cannot set or change it.

customer?
return_url?|

HTTPS return URL or the registered lsn://checkout-return app callback.

Formaturi
metadata?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/checkout_sessions" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "line_items": [      {        "item_id": "string",        "quantity": 1      }    ]  }'
{  "id": "string",  "status": "open",  "created": "2019-08-24T14:15:22Z",  "customer_id": "string",  "currency": "string",  "line_items": [    {      "item_id": "string",      "quantity": 1,      "unit_list_price_minor": 0    }  ],  "quote": {    "mode": "preview",    "created": "2019-08-24T14:15:22Z",    "currency": "string",    "subject": {      "kind": "authenticated",      "customer_id": "string",      "external_ref": "string"    },    "line_items": [      {        "item_id": "string",        "event_id": "string",        "description": "string",        "quantity": 1,        "unit_list_price_minor": 0,        "unit_price_minor": 0,        "list_subtotal_minor": 0,        "discount_minor": 0,        "subtotal_minor": 0,        "booking_fee_minor": 0,        "platform_fee_minor": 0,        "effect_ids": [          "string"        ],        "sellable": true,        "blocked_reason": "gated"      }    ],    "applied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "unapplied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "superseded_effect_ids": [      "string"    ],    "rejected_codes": [      {        "code": "string",        "reason": "not_found"      }    ],    "totals": {      "list_subtotal_minor": 0,      "discount_minor": 0,      "subtotal_minor": 0,      "booking_fee_minor": 0,      "platform_fee_minor": 0,      "total_minor": 0    },    "degraded": true,    "degraded_providers": [      "discount_codes"    ]  },  "total_minor": 0,  "booking_fee_minor": 0,  "platform_fee_minor": 0,  "payment_method_types": [    "string"  ],  "hold_id": "string",  "hosted_url": "string",  "return_url": "string",  "psp_refs": {    "property1": null,    "property2": null  },  "locked_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  },  "client_secret": "string",  "url": "string"}
Try itGET https://pr-7147-ticketing-api.erik-1c8.workers.dev/v1/checkout_sessions

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
status?string

Filters on the STORED status. payment_pending is the derived wire reading of an open session whose payment has started, so it is not a filter value.

Value in

  • "open"
  • "completed"
  • "expired"
  • "payment_refused"

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/checkout_sessions" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "status": "open",      "created": "2019-08-24T14:15:22Z",      "customer_id": "string",      "currency": "string",      "line_items": [        {          "item_id": "string",          "quantity": 1,          "unit_list_price_minor": 0        }      ],      "quote": {        "mode": "preview",        "created": "2019-08-24T14:15:22Z",        "currency": "string",        "subject": {          "kind": "authenticated",          "customer_id": "string",          "external_ref": "string"        },        "line_items": [          {            "item_id": "string",            "event_id": "string",            "description": "string",            "quantity": 1,            "unit_list_price_minor": 0,            "unit_price_minor": 0,            "list_subtotal_minor": 0,            "discount_minor": 0,            "subtotal_minor": 0,            "booking_fee_minor": 0,            "platform_fee_minor": 0,            "effect_ids": [              "string"            ],            "sellable": true,            "blocked_reason": "gated"          }        ],        "applied_effects": [          {            "id": "string",            "provider_kind": "discount_codes",            "provider_id": "string",            "type": "percent_off",            "state": "applied",            "source": {              "kind": "string",              "label": "string",              "ref": "string",              "plan_id": "string",              "membership_id": "string",              "plan_name": "string",              "display": "string",              "benefit_id": "string"            },            "requires": {              "kind": "string",              "label": "string",              "ref": "string",              "plan_id": "string",              "membership_id": "string",              "plan_name": "string",              "display": "string",              "benefit_id": "string"            },            "description": "string",            "stackable": true,            "consumable": true,            "redemption_ref": "string",            "percent_bps": 0,            "amount_minor": 0,            "currency": "string",            "price_override_minor": 0,            "applies_to_item_ids": [              "string"            ],            "applies_to_event_ids": [              "string"            ],            "unlocks_item_ids": [              "string"            ]          }        ],        "unapplied_effects": [          {            "id": "string",            "provider_kind": "discount_codes",            "provider_id": "string",            "type": "percent_off",            "state": "applied",            "source": {              "kind": "string",              "label": "string",              "ref": "string",              "plan_id": "string",              "membership_id": "string",              "plan_name": "string",              "display": "string",              "benefit_id": "string"            },            "requires": {              "kind": "string",              "label": "string",              "ref": "string",              "plan_id": "string",              "membership_id": "string",              "plan_name": "string",              "display": "string",              "benefit_id": "string"            },            "description": "string",            "stackable": true,            "consumable": true,            "redemption_ref": "string",            "percent_bps": 0,            "amount_minor": 0,            "currency": "string",            "price_override_minor": 0,            "applies_to_item_ids": [              "string"            ],            "applies_to_event_ids": [              "string"            ],            "unlocks_item_ids": [              "string"            ]          }        ],        "superseded_effect_ids": [          "string"        ],        "rejected_codes": [          {            "code": "string",            "reason": "not_found"          }        ],        "totals": {          "list_subtotal_minor": 0,          "discount_minor": 0,          "subtotal_minor": 0,          "booking_fee_minor": 0,          "platform_fee_minor": 0,          "total_minor": 0        },        "degraded": true,        "degraded_providers": [          "discount_codes"        ]      },      "total_minor": 0,      "booking_fee_minor": 0,      "platform_fee_minor": 0,      "payment_method_types": [        "string"      ],      "hold_id": "string",      "hosted_url": "string",      "return_url": "string",      "psp_refs": {        "property1": null,        "property2": null      },      "locked_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itGET https://pr-7147-ticketing-api.erik-1c8.workers.dev/v1/checkout_sessions/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/checkout_sessions/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "status": "open",  "created": "2019-08-24T14:15:22Z",  "customer_id": "string",  "currency": "string",  "line_items": [    {      "item_id": "string",      "quantity": 1,      "unit_list_price_minor": 0    }  ],  "quote": {    "mode": "preview",    "created": "2019-08-24T14:15:22Z",    "currency": "string",    "subject": {      "kind": "authenticated",      "customer_id": "string",      "external_ref": "string"    },    "line_items": [      {        "item_id": "string",        "event_id": "string",        "description": "string",        "quantity": 1,        "unit_list_price_minor": 0,        "unit_price_minor": 0,        "list_subtotal_minor": 0,        "discount_minor": 0,        "subtotal_minor": 0,        "booking_fee_minor": 0,        "platform_fee_minor": 0,        "effect_ids": [          "string"        ],        "sellable": true,        "blocked_reason": "gated"      }    ],    "applied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "unapplied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "superseded_effect_ids": [      "string"    ],    "rejected_codes": [      {        "code": "string",        "reason": "not_found"      }    ],    "totals": {      "list_subtotal_minor": 0,      "discount_minor": 0,      "subtotal_minor": 0,      "booking_fee_minor": 0,      "platform_fee_minor": 0,      "total_minor": 0    },    "degraded": true,    "degraded_providers": [      "discount_codes"    ]  },  "total_minor": 0,  "booking_fee_minor": 0,  "platform_fee_minor": 0,  "payment_method_types": [    "string"  ],  "hold_id": "string",  "hosted_url": "string",  "return_url": "string",  "psp_refs": {    "property1": null,    "property2": null  },  "locked_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPATCH https://pr-7147-ticketing-api.erik-1c8.workers.dev/v1/checkout_sessions/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties
line_items?array<>

The WHOLE new cart, never a delta: the engine is the sole cart authority and an update states the cart it wants.

Items1 <= items <= 50
codes?array<>
Itemsitems <= 10
customer?
return_url?|

HTTPS return URL or the registered lsn://checkout-return app callback.

Formaturi
metadata?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/checkout_sessions/string" \  -H "Ticketing-Organizer: string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "status": "open",  "created": "2019-08-24T14:15:22Z",  "customer_id": "string",  "currency": "string",  "line_items": [    {      "item_id": "string",      "quantity": 1,      "unit_list_price_minor": 0    }  ],  "quote": {    "mode": "preview",    "created": "2019-08-24T14:15:22Z",    "currency": "string",    "subject": {      "kind": "authenticated",      "customer_id": "string",      "external_ref": "string"    },    "line_items": [      {        "item_id": "string",        "event_id": "string",        "description": "string",        "quantity": 1,        "unit_list_price_minor": 0,        "unit_price_minor": 0,        "list_subtotal_minor": 0,        "discount_minor": 0,        "subtotal_minor": 0,        "booking_fee_minor": 0,        "platform_fee_minor": 0,        "effect_ids": [          "string"        ],        "sellable": true,        "blocked_reason": "gated"      }    ],    "applied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "unapplied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "superseded_effect_ids": [      "string"    ],    "rejected_codes": [      {        "code": "string",        "reason": "not_found"      }    ],    "totals": {      "list_subtotal_minor": 0,      "discount_minor": 0,      "subtotal_minor": 0,      "booking_fee_minor": 0,      "platform_fee_minor": 0,      "total_minor": 0    },    "degraded": true,    "degraded_providers": [      "discount_codes"    ]  },  "total_minor": 0,  "booking_fee_minor": 0,  "platform_fee_minor": 0,  "payment_method_types": [    "string"  ],  "hold_id": "string",  "hosted_url": "string",  "return_url": "string",  "psp_refs": {    "property1": null,    "property2": null  },  "locked_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7147-ticketing-api.erik-1c8.workers.dev/v1/checkout_sessions/{id}/expire

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/checkout_sessions/string/expire" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "status": "open",  "created": "2019-08-24T14:15:22Z",  "customer_id": "string",  "currency": "string",  "line_items": [    {      "item_id": "string",      "quantity": 1,      "unit_list_price_minor": 0    }  ],  "quote": {    "mode": "preview",    "created": "2019-08-24T14:15:22Z",    "currency": "string",    "subject": {      "kind": "authenticated",      "customer_id": "string",      "external_ref": "string"    },    "line_items": [      {        "item_id": "string",        "event_id": "string",        "description": "string",        "quantity": 1,        "unit_list_price_minor": 0,        "unit_price_minor": 0,        "list_subtotal_minor": 0,        "discount_minor": 0,        "subtotal_minor": 0,        "booking_fee_minor": 0,        "platform_fee_minor": 0,        "effect_ids": [          "string"        ],        "sellable": true,        "blocked_reason": "gated"      }    ],    "applied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "unapplied_effects": [      {        "id": "string",        "provider_kind": "discount_codes",        "provider_id": "string",        "type": "percent_off",        "state": "applied",        "source": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "requires": {          "kind": "string",          "label": "string",          "ref": "string",          "plan_id": "string",          "membership_id": "string",          "plan_name": "string",          "display": "string",          "benefit_id": "string"        },        "description": "string",        "stackable": true,        "consumable": true,        "redemption_ref": "string",        "percent_bps": 0,        "amount_minor": 0,        "currency": "string",        "price_override_minor": 0,        "applies_to_item_ids": [          "string"        ],        "applies_to_event_ids": [          "string"        ],        "unlocks_item_ids": [          "string"        ]      }    ],    "superseded_effect_ids": [      "string"    ],    "rejected_codes": [      {        "code": "string",        "reason": "not_found"      }    ],    "totals": {      "list_subtotal_minor": 0,      "discount_minor": 0,      "subtotal_minor": 0,      "booking_fee_minor": 0,      "platform_fee_minor": 0,      "total_minor": 0    },    "degraded": true,    "degraded_providers": [      "discount_codes"    ]  },  "total_minor": 0,  "booking_fee_minor": 0,  "platform_fee_minor": 0,  "payment_method_types": [    "string"  ],  "hold_id": "string",  "hosted_url": "string",  "return_url": "string",  "psp_refs": {    "property1": null,    "property2": null  },  "locked_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}