curl --request POST \
--url https://api.justpaid.io/api/v1/payment/invoice_payment/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"invoice": {
"line_items": [
{
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "USD",
"description": "<string>"
}
],
"amount": 123,
"currency": "USD",
"invoice_number": "<string>",
"invoice_date": "2023-12-25",
"description": "<string>"
},
"customer_uuid": "<string>"
}'
{
"invoice": {
"line_items": [
{
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "<string>",
"description": "<string>"
}
],
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "USD",
"invoice_number": "<string>",
"invoice_date": "2023-12-25",
"description": "<string>"
},
"customer_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_status": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_amount": 123,
"reference_number": "<string>",
"payment_scheduled_date": "2023-11-07T05:31:56Z",
"payment_completed_date": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://api.justpaid.io/api/v1/payment/invoice_payment/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"invoice": {
"line_items": [
{
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "USD",
"description": "<string>"
}
],
"amount": 123,
"currency": "USD",
"invoice_number": "<string>",
"invoice_date": "2023-12-25",
"description": "<string>"
},
"customer_uuid": "<string>"
}'
{
"invoice": {
"line_items": [
{
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "<string>",
"description": "<string>"
}
],
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "USD",
"invoice_number": "<string>",
"invoice_date": "2023-12-25",
"description": "<string>"
},
"customer_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_status": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_amount": 123,
"reference_number": "<string>",
"payment_scheduled_date": "2023-11-07T05:31:56Z",
"payment_completed_date": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
Was this page helpful?