Payment outcome intents
Create a payment outcome intent
Changed onRecord the business outcome (e.g. run payroll) separate from payee/transfer drafts. Outcome text and requester are immutable.
post/v1/customers/{customerId}/payment-outcome-intents
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
Customer id (cus_…).
Headers
X-API-Keystring
API key
Request body
Example request
{
"outcomeText": "Run March payroll for ACME contractors"
}Response
Example response
{
"id": "oint_abc123",
"sealedPlan": {
"v": 1
}
}Changes
- info
endpoint added
- info