Vendors
Number of items to return
100Cursor for forward pagination
Cursor for backward pagination
Filter by active status
Filter by origin (manual, quickbooks, ocr)
Filter by vendor name
OK
gaFpxBACEaXBVABEYbHG+X9LyLnHtruegaFpxBACEaXBVABEYbHG+X9LyLnHGET /vendors HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
OK
{
"data": [
{
"category": "text",
"city": "text",
"country": "text",
"created_at": "text",
"email": "text",
"id": "text",
"is_active": true,
"name": "text",
"origin": "manual",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text",
"updated_at": "text"
}
],
"end_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH",
"has_next_page": true,
"has_previous_page": false,
"start_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH"
}Vendor creation request
Created
Vendor details
Vendor origin enum
Bad Request
Unprocessable Entity
POST /vendors HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 276
{
"bank_account": {
"account_number": "text",
"account_type": "text",
"bank_name": "text",
"routing_number": "text"
},
"category": "text",
"city": "text",
"country": "text",
"email": "text",
"name": "text",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text"
}{
"category": "text",
"city": "text",
"country": "text",
"created_at": "text",
"email": "text",
"id": "text",
"is_active": true,
"name": "text",
"origin": "manual",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text",
"updated_at": "text"
}Vendor ID
OK
Vendor details
Vendor origin enum
Not Found
GET /vendors/{id} HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"category": "text",
"city": "text",
"country": "text",
"created_at": "text",
"email": "text",
"id": "text",
"is_active": true,
"name": "text",
"origin": "manual",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text",
"updated_at": "text"
}Vendor ID
Vendor patch request (partial update)
OK
Vendor details
Vendor origin enum
Bad Request
Not Found
PATCH /vendors/{id} HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 170
{
"category": "text",
"city": "text",
"country": "text",
"email": "text",
"name": "text",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text"
}{
"category": "text",
"city": "text",
"country": "text",
"created_at": "text",
"email": "text",
"id": "text",
"is_active": true,
"name": "text",
"origin": "manual",
"phone": "text",
"postal_code": "text",
"state": "text",
"street_address": "text",
"tax_id": "text",
"updated_at": "text"
}Vendor ID
OK
Vendor bank account details (masked)
Bank account type enum
Not Found
GET /vendors/{id}/bank-account HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"account_mask": "text",
"account_type": "checking",
"bank_name": "text",
"id": "text",
"payment_method_id": "text"
}Vendor ID
Bank account upsert request
OK
Vendor bank account details (masked)
Bank account type enum
Bad Request
Not Found
POST /vendors/{id}/bank-account HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"account_number": "text",
"account_type": "text",
"bank_name": "text",
"routing_number": "text"
}{
"account_mask": "text",
"account_type": "checking",
"bank_name": "text",
"id": "text",
"payment_method_id": "text"
}Vendor ID
Created
Vendor data request creation result
Not Found
POST /vendors/{id}/data-request HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "text"
}Vendor ID
OK
List of vendor data requests
Not Found
GET /vendors/{id}/data-requests HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"data": [
{
"created_at": "text",
"expires_at": "text",
"id": "text",
"status": "text",
"submitted_at": "text",
"vendor_id": "text"
}
]
}Vendor ID
Data Request ID
OK
Data request resend confirmation
Not Found
POST /vendors/{id}/data-requests/{request_id}/resend HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"success": true
}Vendor ID
OK
Vendor deactivation result
Not Found
Unprocessable Entity
POST /vendors/{id}/deactivate HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"affected_bill_count": 1,
"vendor_id": "text"
}Vendor ID
OK
Vendor reactivation result
Not Found
POST /vendors/{id}/reactivate HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"affected_bill_count": 1,
"vendor_id": "text"
}Last updated
Was this helpful?
