Process recurring payments
1
{
"first-name": "Clark",
"last-name": "Kent",
"email": "[email protected]",
"billing-address": {
"street": "1938 DeSota Rd",
"city": "Smallville",
"state": "Kansas",
"zip": "12345",
"phone": "5555555555"
}
}Name
Data type
Required?
Description
{
"code": "201",
"status": "success",
"exchange-id": "ID-clearent-rps-1-34dd8e73-7540-4efc-b22c-70e3e53d07ba",
"links": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/customers/cust_99b2bf69-2bb6-4a03-8a84-489bec69f78e"
}
],
"payload": {
"customer": {
"email": "[email protected]",
"customer-key": "cust_99b2bf69-2bb6-4a03-8a84-489bec69f78e",
"first-name": "Clark",
"last-name": "Kent",
"billing-address": {
"street": "1938 DeSota Rd",
"city": "Smallville",
"state": "Kansas",
"zip": "12345",
"phone": "5555555555"
},
"links": {
"link": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/customers/cust_99b2bf69-2bb6-4a03-8a84-489bec69f78e"
},
{
"rel": "payment-plans",
"href": "https://gateway-sb.clearent.net/rest/v2/payment-plans?customer-key=cust_99b2bf69-2bb6-4a03-8a84-489bec69f78e"
}
]
}
},
"payloadType": "customer"
}
}Name
Data type
Description
2
{
"avs-address": "123 example street",
"avs-zip": "123445",
"card-type": "VISA",
"customer-key": "cust_99b2bf69-2bb6-4a03-8a84-489bec69f78e",
"default": true,
"description": "Big Money Card",
"exp-date": "0932",
"last-four-digits": "5678",
"token-id": "1100001322954675439"
}{
"code": "201",
"status": "SUCCESS",
"exchange-id": "ID-clearent-rps-1-264d0e54-ea7e-4416-846b-65e84d5db042",
"links": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/payment-plans/plan_62f36450-1918-41ff-a019-4ed8155fad69"
}
],
"payload": {
"payment-plan": {
"frequency": "MONTHLY",
"plan-key": "plan_62f36450-1918-41ff-a019-4ed8155fad69",
"customer-key": "cust_27d8fd09-d092-4809-869f-337eb64839b5",
"customer-name": "Light Yagami",
"email-address": "[email protected]",
"email-receipt": "false",
"token-id": "1100001322954675439",
"frequency-day": "3",
"payment-amount": "13.37",
"start-date": "2025-08-10",
"end-date": "2025-12-31",
"status": "ACTIVE",
"status-date": "2025-06-04",
"frequency-month": "5",
"frequency-week": "1",
"links": {
"link": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/payment-plans/plan_62f36450-1918-41ff-a019-4ed8155fad69"
},
{
"rel": "customers",
"href": "https://gateway-sb.clearent.net/rest/v2/customers/cust_27d8fd09-d092-4809-869f-337eb64839b5"
},
{
"rel": "tokens",
"href": "https://gateway-sb.clearent.net/rest/v2/tokens/1100001322954675439"
}
]
}
},
"payloadType": "payment-plan"
}
}Name
Data type
Description
3
{
"customer-key": "cust_27d8fd09-d092-4809-869f-337eb64839b5",
"customer-name": "Token Test",
"email-address": "[email protected]",
"email-receipt": "false",
"start-date": "2025-08-10",
"end-date": "2025-12-31",
"frequency": "MONTHLY",
"frequency-day": "3",
"frequency-month": "5",
"payment-amount": "13.37",
"token-id": "1100001322954675439"
}Name
Data type
Required?
Description
{
"code": "201",
"status": "SUCCESS",
"exchange-id": "ID-clearent-rps-1-264d0e54-ea7e-4416-846b-65e84d5db042",
"links": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/payment-plans/plan_62f36450-1918-41ff-a019-4ed8155fad69"
}
],
"payload": {
"payment-plan": {
"frequency": "MONTHLY",
"plan-key": "plan_62f36450-1918-41ff-a019-4ed8155fad69",
"customer-key": "cust_27d8fd09-d092-4809-869f-337eb64839b5",
"customer-name": "Light Yagami",
"email-address": "[email protected]",
"email-receipt": "false",
"token-id": "1100001322954675439",
"frequency-day": "3",
"payment-amount": "13.37",
"start-date": "2025-08-10",
"end-date": "2025-12-31",
"status": "ACTIVE",
"status-date": "2025-06-04",
"frequency-month": "5",
"frequency-week": "1",
"links": {
"link": [
{
"rel": "self",
"href": "https://gateway-sb.clearent.net/rest/v2/payment-plans/plan_62f36450-1918-41ff-a019-4ed8155fad69"
},
{
"rel": "customers",
"href": "https://gateway-sb.clearent.net/rest/v2/customers/cust_27d8fd09-d092-4809-869f-337eb64839b5"
},
{
"rel": "tokens",
"href": "https://gateway-sb.clearent.net/rest/v2/tokens/1100001322954675439"
}
]
}
},
"payloadType": "payment-plan"
}
}Name
Data type
Description
Last updated
Was this helpful?

