POST /dropship-providers/{id}/settle-invoices.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
achPayment boolean | null
Ach payment
-
Additional amount
Default value is
0
. -
Amount
Default value is
0
. -
createdAt string(date-time)
Created at
-
Dropship provider
-
externalId string | null
External
-
Fee
Default value is
0
. -
id integer(int32)
Id
-
managedAccount boolean | null
Managed account
-
message string | null
Message
-
name string | null
Name
-
notes string | null
Notes
-
Resend external ids
Default value is
[]
(empty). -
Resends
Default value is
0
. -
Send attempts
Default value is
0
. -
Source
Values are
stripe
,stripe_managed
,paypal
,bacs
,check
,other
,ost
, ortransferwise
. Default value isother
. -
Status
Values are
pending
,complete
,error
, orcancelled
. Default value ispending
. -
Stripe payout
Values are
jetti
orretailer
. Default value isretailer
. -
Trigger
Values are
automated
,manual
, orother
. Default value isother
. -
updatedAt string(date-time)
Updated at
POST /dropship-providers/{id}/settle-invoices.json
curl \
-X POST http://api.example.com/v1/dropship-providers/{id}/settle-invoices.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"achPayment":true,"additionalAmount":0,"amount":0,"createdAt":"2024-05-04T09:42:00+00:00","dropshipProviderId":42,"externalId":"string","fee":0,"id":42,"managedAccount":true,"message":"string","name":"string","notes":"string","problem":{},"resendExternalIds":[],"resends":0,"sendAttempts":0,"source":"other","status":"pending","stripePayout":"retailer","total":{},"trigger":"other","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"achPayment": true,
"additionalAmount": 0,
"amount": 0,
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"externalId": "string",
"fee": 0,
"id": 42,
"managedAccount": true,
"message": "string",
"name": "string",
"notes": "string",
"problem": {},
"resendExternalIds": [],
"resends": 0,
"sendAttempts": 0,
"source": "other",
"status": "pending",
"stripePayout": "retailer",
"total": {},
"trigger": "other",
"updatedAt": "2024-05-04T09:42:00+00:00"
}
Response examples (200)
{
"achPayment": true,
"additionalAmount": 0,
"amount": 0,
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"externalId": "string",
"fee": 0,
"id": 42,
"managedAccount": true,
"message": "string",
"name": "string",
"notes": "string",
"problem": {},
"resendExternalIds": [],
"resends": 0,
"sendAttempts": 0,
"source": "other",
"status": "pending",
"stripePayout": "retailer",
"total": {},
"trigger": "other",
"updatedAt": "2024-05-04T09:42:00+00:00"
}