post
https://api.frisbii.com/v1/payment_method/offline
Add an offline payment method (cash, bank transfer, or other) using an offline agreement handle. An existing customer can be referenced or a new customer can be created in an atomic operation. Offline payment methods enable merchants to accept payments that are processed outside of the standard online payment gateway, such as cash payments, bank wire transfers, or other manual payment methods.
Errors
The operation can generate the following errors beside the generic HTTP error codes described here.
| Error code | HTTP code | Description |
|---|---|---|
| 9 | 404 | Customer not found |
| 11 | 404 | Agreement not found |
| 31 | 400 | Invalid request (e.g., missing offline_agreement_handle) |
| 106 | 400 | Either customer_handle or customer must be defined |
The endpoint requires either a customer_handle to reference an existing customer, or a customer object to create a new customer, along with the required offline_agreement_handle that specifies which offline agreement to use for the payment method.
