Docs
API Reference
Search…
Home
Getting started
concepts
Core resources
Webhooks
Payments
Accept a payment
More payment methods
Billing
Subscriptions
Invoices
Owners
Create an owner
Platforms
Getting started
OAuth
Making requests on-behalf of accounts
Handle onboarding
Account branding
Yorlet.js
Powered By
GitBook
Making requests on-behalf of accounts
You can make an API call on-behalf of an account by passing their Account ID into requests in the
Yorlet-Account
header.
Create a customer on-behalf of an account
1
curl
https://api.yorlet.com/v1/customers
\
2
-H
"Authorization: Bearer {{API_KEY}}"
\
3
-H
"Content-Type: application/json"
\
4
-H
"Yorlet-Account: {{ACCOUNT_ID}}"
\
5
-d
'{
6
"email": "
[email protected]
"
7
}'
Copied!
Platforms - Previous
OAuth
Next - Platforms
Handle onboarding
Last modified
1yr ago
Copy link
Contents
Create a customer on-behalf of an account