curl --request POST \
--url https://api.yorlet.com/v1/payment_methods/{id}/fund_bank_transfer \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_method",
"billing_details": {
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"email": "<string>",
"name": "<string>",
"phone": "<string>"
},
"customer": "<string>",
"status": "chargeable",
"type": "bacs_debit",
"bacs_debit": {
"fingerprint": "<string>",
"last4": "<string>",
"sort_code": "<string>"
},
"account": "<string>",
"deleted": false
}Simulates an external bank transfer and adds funds to the payment method’s balance. This method can only be called in test mode.
curl --request POST \
--url https://api.yorlet.com/v1/payment_methods/{id}/fund_bank_transfer \
--header 'Authorization: <api-key>'{
"id": "<string>",
"created": 123,
"object": "payment_method",
"billing_details": {
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"email": "<string>",
"name": "<string>",
"phone": "<string>"
},
"customer": "<string>",
"status": "chargeable",
"type": "bacs_debit",
"bacs_debit": {
"fingerprint": "<string>",
"last4": "<string>",
"sort_code": "<string>"
},
"account": "<string>",
"deleted": false
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
Returns a payment method object if successful.
The Bacs debit payment method.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
payment_method Show child attributes
chargeable, pending, failed, null bacs_debit Show child attributes
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.
Was this page helpful?