/payments/:id
GET
GET /payments/:id(.:format)
/payments/:id(.:format)
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \ -XGET \ https://moneybird.com/api/v2/123/payments/440890464403457847.json?
data = {} RestClient.get( "https://moneybird.com/api/v2/123/payments/440890464403457847.json", data, { authorization: "Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" } )
Status: 200 OK
{ "id": "440890464403457847", "administration_id": 123, "invoice_type": "SalesInvoice", "invoice_id": "440890464089933610", "financial_account_id": "440890464376194867", "user_id": 1, "payment_transaction_id": null, "transaction_identifier": null, "price": "363.0", "price_base": "363.0", "payment_date": "2024-12-20", "credit_invoice_id": null, "financial_mutation_id": "440890464387729206", "ledger_account_id": "440890464359417650", "linked_payment_id": null, "manual_payment_action": null, "created_at": "2024-12-20T09:12:13.963Z", "updated_at": "2024-12-20T09:12:13.963Z" }
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \ -XGET \ https://moneybird.com/api/v2/123/payments/34123123.json?
data = {} RestClient.get( "https://moneybird.com/api/v2/123/payments/34123123.json", data, { authorization: "Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" } )
Status: 404 Not Found
{ "error": "record not found", "symbolic": { "id": "not_found" } }