curl --request GET \
--url https://api.yorlet.com/v1/payment_method_sessions/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_method_session",
"customer": "<string>",
"payment_method": "<string>",
"payment_method_types": [
"autogiro"
],
"return_url": "<string>",
"status": "requires_payment_method",
"subscription": "<string>",
"url": "<string>",
"account": "<string>",
"deleted": false,
"merchant": {
"business_name": "<string>",
"color": "<string>",
"country": "<string>",
"display_name": "<string>",
"icon": "<string>",
"id": "<string>",
"support_email": "<string>",
"support_phone": "<string>",
"support_website": "<string>"
},
"metadata": {}
}Retrieve the details about a specific payment method session.
curl --request GET \
--url https://api.yorlet.com/v1/payment_method_sessions/{id} \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_method_session",
"customer": "<string>",
"payment_method": "<string>",
"payment_method_types": [
"autogiro"
],
"return_url": "<string>",
"status": "requires_payment_method",
"subscription": "<string>",
"url": "<string>",
"account": "<string>",
"deleted": false,
"merchant": {
"business_name": "<string>",
"color": "<string>",
"country": "<string>",
"display_name": "<string>",
"icon": "<string>",
"id": "<string>",
"support_email": "<string>",
"support_phone": "<string>",
"support_website": "<string>"
},
"metadata": {}
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
Returns the payment method session object.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
payment_method_session autogiro, bacs_debit, card, card_present, bank_transfer, direct_transfer, gbp_credit_transfer, pay_by_bank, sepa_debit requires_payment_method, succeeded The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Show child attributes
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Show child attributes
Was this page helpful?