curl --request POST \
--url https://api.yorlet.com/v1/payment_initiations/{id}/tokens \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"brand_name": "<string>"
}
'{
"created": 123,
"object": "payment_initiation.token",
"token": "<string>",
"type": "plaid",
"account": "<string>",
"deleted": false
}Creates a single-use token that can be used to initiate a payment. Yorlet supports Payment Initiation using Plaid, you will need to launch the Payment Initiation flow in Plaid Link with the token returned by this endpoint.
curl --request POST \
--url https://api.yorlet.com/v1/payment_initiations/{id}/tokens \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"brand_name": "<string>"
}
'{
"created": 123,
"object": "payment_initiation.token",
"token": "<string>",
"type": "plaid",
"account": "<string>",
"deleted": false
}API Key authentication. Use "Bearer YOUR_API_KEY".
The id identifier.
30The single-use token object is returned upon success. Otherwise, this call returns an error.
Time at which the object was created. Measured in seconds since the Unix epoch.
payment_initiation.token plaid 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?