Required if the account is part of multiple organizations. If the account only has access to one organization, this header is not required.
Spense Partner APIs (v1)
Download OpenAPI description
Languages
Servers
Production API
https://api.spensepay.com/partner
- Production APIhttps://api.spensepay.com/partner/payments/{payment_id}/receipts/terminal/print
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.spensepay.com/partner/payments/{payment_id}/receipts/terminal/print' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-Organization-Id: string'Response
application/json
{}
- Production APIhttps://api.spensepay.com/partner/payments/{payment_id}/manual-paid
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.spensepay.com/partner/payments/{payment_id}/manual-paid' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Organization-Id: string' \
-d '{
"payment_method": "bank_terminal",
"user_email": "user@example.com",
"reason": "string"
}'Response
application/json
{}