For AI agents: visit https://developers.berkeleypayment.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
An ID associated with the simulated authorization. authorization_id can also be used to create the corresponding simulated settlement
Sample Response
{
"data": {
"authorization_id": "20052"
}
}
Notes
An authorization can be successfully simulated but still results in denied authorization due to insufficient balances, wrong currencies, etc. In such cases, an authorization_id is still returned, and using this authorization_id to create simulated settlements will result in failures. Currently, a denied authorization webhook that informs users of denied authorizations is under development.
Simulate Settlement
POST {{domain}}/test_api/v1/card_issuing/accounts/:id/simulate/settlement
Request
Field
Value
Is Required
Description
authorization_id
String
Yes
Authorization ID returned by the above simulate authorization endpoint. To be used to create a simulated settlement on the corresponding authorization
card_network
String
Yes
"mastercard" or "visa"
currency
string
Yes
Three digit ISO numeric UN M49 country code; Example USA=840, Canada=124