curl --request POST \
--url https://api.yorlet.com/v1/transactions/{id}/confirm \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"consumer_user_link": "<string>",
"off_session": false,
"payment_method": "<string>",
"payment_method_types": [
"autogiro"
],
"return_url": "<string>"
}
'{
"id": "<string>",
"created": 123,
"object": "transaction",
"adaptive_pricing": {
"localized_prices": [
{
"amount": 123,
"currency": "<string>",
"presentment_exchange_rate": {
"currency": "<string>",
"exchange_rate": 123
}
}
]
},
"amount": 123,
"application": "<string>",
"balance_transaction": "<string>",
"capture_method": "automatic",
"client_secret": "<string>",
"confirmed_at": 123,
"cross_border": {
"amount": 123,
"enabled": true
},
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"dispute": "<string>",
"invoice": "<string>",
"last_payment_error": {
"code": "<string>",
"failed_at": 123,
"message": "<string>"
},
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "<string>"
}
},
"paid_at": 123,
"payment_method": "<string>",
"payment_method_types": [
"<string>"
],
"payment_session": "<string>",
"presentment_details": {
"amount": 123,
"currency": "<string>"
},
"processing": {
"type": "bacs_debit"
},
"receipt_url": "<string>",
"reporting_type": "<string>",
"status": "requires_payment_method",
"transfer_group": "<string>",
"account": "<string>",
"deleted": false,
"amount_refunded": 0,
"disputed": false,
"metadata": {},
"refunded": false
}Confirms the transaction.
curl --request POST \
--url https://api.yorlet.com/v1/transactions/{id}/confirm \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"consumer_user_link": "<string>",
"off_session": false,
"payment_method": "<string>",
"payment_method_types": [
"autogiro"
],
"return_url": "<string>"
}
'{
"id": "<string>",
"created": 123,
"object": "transaction",
"adaptive_pricing": {
"localized_prices": [
{
"amount": 123,
"currency": "<string>",
"presentment_exchange_rate": {
"currency": "<string>",
"exchange_rate": 123
}
}
]
},
"amount": 123,
"application": "<string>",
"balance_transaction": "<string>",
"capture_method": "automatic",
"client_secret": "<string>",
"confirmed_at": 123,
"cross_border": {
"amount": 123,
"enabled": true
},
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"dispute": "<string>",
"invoice": "<string>",
"last_payment_error": {
"code": "<string>",
"failed_at": 123,
"message": "<string>"
},
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "<string>"
}
},
"paid_at": 123,
"payment_method": "<string>",
"payment_method_types": [
"<string>"
],
"payment_session": "<string>",
"presentment_details": {
"amount": 123,
"currency": "<string>"
},
"processing": {
"type": "bacs_debit"
},
"receipt_url": "<string>",
"reporting_type": "<string>",
"status": "requires_payment_method",
"transfer_group": "<string>",
"account": "<string>",
"deleted": false,
"amount_refunded": 0,
"disputed": false,
"metadata": {},
"refunded": false
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
The payment method types allowed for this transaction.
autogiro, bacs_debit, card, card_present, bank_transfer, direct_transfer, gbp_credit_transfer, pay_by_bank, sepa_debit Returns a transaction object if successful.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
transaction Show child attributes
automatic, manual, null Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
requires_payment_method, requires_confirmation, requires_action, processing, canceled, 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.
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?