Create Sardine Session
POST
https://bank.dattaremit.com/api/sardine_sessionsRequires a bank-scoped key.
Create a Sardine session.
Required scope: sardine_sessions:execute
Body Params
requiredcustomer_guidstringThe GUID of the customer the session is for. Required for organization and bank subject tokens. For customer subject tokens, this is inferred from the token.
Responses
201session created
400Bad Request
401Unauthorized
403Forbidden
422Unprocessable Content
Request
curl https://api.dattaremit.com/api/sardine_sessions \
-X POST \
-H "Authorization: Bearer sk_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"customer_guid": "string"
}'Response
session created
{
"guid": "string",
"sardine_session_key": "string",
"customer_guid": "string",
"expires_at": "2026-07-20T16:27:51.438Z"
}