API → PaymentsCreate payment info for your org

Parameters

Name

Type

Req.

Returns

post
/org/payment
$ curl -X POST "https://api.zoo.dev/org/payment" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "address": {
    "city": "f9swkeEldN1Pm3My",
    "country": "NIZUbl2jjkNv2t2kfWiPr",
    "state": "8QjaL92L89U",
    "street1": "Fc79BhPOnHMiZHJb7",
    "street2": "lCVoxPCsCr1gE4ih",
    "zip": "JLZIMAQagExl4tldsRlz751ml"
  },
  "name": "DlRDf4X7m19LpgP79mR9m",
  "phone": "+1-101-929-1578"
}'
201 Created
Response
{
  "address": {
    "city": "OVZO7",
    "country": "KZqXIwazcDA1vxRzJphti",
    "state": "0iWd",
    "street1": "wg3h047zp27X7HC690t",
    "street2": "IL",
    "zip": "ZylG"
  },
  "balance": "42.55",
  "created_at": "2024-07-12T16:22:01.230Z",
  "currency": "oIhbrKQa4PAnY2cmovyTsPNyEZD",
  "delinquent": true,
  "email": "jt06kHFl@A.com",
  "id": "RrDlce",
  "metadata": {},
  "name": "1XNxnQXuvOqtaa8vTeB4IVioOf",
  "phone": "+1-570-726-8174"
}