POST /v4/customer
{
"FirstName": "Test",
"LastName": "Person",
"Email": "[email protected]"
}
2. Add a Credit Card or Bank Account to the Customer created in Step 1
POST /v4/account/creditcard
{
"CreditCardNumber": "4111111111111111",
"ExpirationDate": "12/2033",
"Issuer": "Visa",
"BillingZipCode": "80202",
"CustomerId": 9695143
}
3. Collect the Payment using the Account Id created in Step 2
POST /v4/payment
{
"AccountId": 8989970,
"Amount": 99.45
}
PCI Compliance Warning
Any time cardholder data passes through your server, it can increase your PCI Compliance burden. Consider utilizing a PaySimple checkout form if it fits your use case.