cURL
curl --request POST \ --url https://stage.tonder.io/api/v1/business/{business}/payments/ \ --header 'Content-Type: application/json' \ --data '{ "amount": 1200, "date": "2023-12-15T22:45:06.506Z", "order": 5728 }'
{ "pk": 5943, "order": null, "amount": "1200.0000", "status": "PENDING", "date": "2024-01-18T10:18:39.800536-06:00", "paid_date": null, "shipping_address": { "street": "N/a", "number": "N/a", "suburb": "N/a", "city": { "name": "N/a" }, "state": { "name": "N/a", "country": { "name": "N/a" } }, "zip_code": "N/a" }, "shipping_address_id": null, "billing_address": { "street": "N/a", "number": "N/a", "suburb": "N/a", "city": { "name": "N/a" }, "state": { "name": "N/a", "country": { "name": "N/a" } }, "zip_code": "N/a" }, "billing_address_id": null, "client": null, "customer_order_reference": null }
Authorization: Token <YOUR_API_KEY>
A business unique identifier.
Successful response
The response is of type object.
object