Customers
Enroll a customer
Records a Net Terms Agreement acceptance captured by you and enrolls an approved customer. Both happen in one transaction — if enrollment fails, the acceptance is not recorded.
The signed agreement PDF is generated asynchronously, so it is not available in the response. It records the signer details and IP address supplied here.
post/customers/{customer_id}/net-terms-acceptance
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring required
ID of the customer to enroll
Request body
Example request
{
"agreement_type": "net_terms_agreement",
"signer_name": "Dana Whitfield",
"signer_email": "dana.whitfield@buyer-example.com",
"signer_title": "Controller",
"authorization_attestation": true,
"external_userinfo": {
"ip": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
},
"platform_user_id": "plat_user_8842",
"platform_session_id": "plat_sess_c31f9a"
}Response
An object representing the enrolled customer, with net_terms_status set to enrolled.
The response carries no acceptance identifier.
Example response
{
"id": "PMMlaE5wbg0",
"merchant_id": "MER456789",
"external_id": "CUS-123456",
"created_at": "2020-01-01T00:00:00.750Z",
"updated_at": "2020-01-01T00:00:00.750Z",
"source": "MERCHANT_USER",
"business_address": "111 Main Street",
"business_city": "San Francisco",
"business_state": "CA",
"business_zip": "94104",
"business_country": "US",
"business_age_range": "5-10",
"business_ap_email": "ap@example.com",
"business_ap_phone": "(202) 456-1414",
"business_ap_phone_extension": "123",
"business_name": "Example, Inc.",
"business_trade_name": "Example Trading Company",
"business_phone": "(202) 456-1414",
"business_type": "corporation",
"email": "user@example.com",
"personal_name_first": "James",
"personal_name_last": "Bond",
"personal_phone": "(202) 456-1414",
"amount_approved": 10000,
"amount_authorized": 10000,
"amount_available": 10000,
"amount_balance": 2000,
"amount_unapplied_payments": 1000,
"advance_rate": 0.75,
"net_terms_enrollment_url": "www.app.resolvepay.com/merchant-id/activate/123456",
"net_terms_enrollment_expires_at": "2020-01-01T00:00:00.750Z",
"credit_check_requested_at": "2020-01-01T00:00:00.750Z",
"duns_number": "00-123-4567",
"credit_decisions": [
{
"id": "abc123",
"created_at": "2020-01-01T00:00:00.750Z",
"decision": "approved",
"amount": 10000,
"advance_rate": 0.75,
"decline_code": "no_business_found",
"hold_code": "past_due"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.