This request allows you to process a payment through VersaPay.
{
"transaction": {
"amount": 1,
"funds-direction": "FromCustomer",
"phone": "8254473315",
"email": "[email protected]"
},
"checking-account": {
"token": "QVFJREFIalVqRlk3bHJIVFJFWERTSFljS3R6R1haaFNNNEFJVjkwbWFlalRZUEw3RmdFSWJnODlJYkxSRklzZ2xiYUgzRmtMQUFBQWZqQjhCZ2txaGtpRzl3MEJCd2FnYnpCdEFnRUFNR2dHQ1NxR1NJYjNEUUVIQVRBZUJnbGdoa2dCWlFNRUFTNHdFUVFNanV2QUFYV0crOGQreGhlaUFnRVFnRHR1ZDUzZTZmY2g5TTNjdWhiVjJFemw1UzI4WlpFZVc4NVNGVVBBNnZNRkxhVjhJVk1rVm10TVhKRjZHV2RsWjVUNnhBTk01azVMZ3phUjdnPT0uNE1sdEdpY1NXeWpSNm5zblVIeEhjUT09LkFRSURBSGpVakZZN2xySFRSRVhEU0hZY0t0ekdYWmhTTTRBSVY5MG1hZWpUWVBMN0ZnRUliZzg5SWJMUkZJc2dsYmFIM0ZrTEFBQUFmakI4QmdrcWhraUc5dzBCQndhZ2J6QnRBZ0VBTUdnR0NTcUdTSWIzRFFFSEFUQWVCZ2xnaGtnQlpRTUVBUzR3RVFRTWp1dkFBWFdHKzhkK3hoZWlBZ0VRZ0R0dWQ1M2U2ZmNoOU0zY3VoYlYyRXpsNVMyOFpaRWVXODVTRlVQQTZ2TUZMYVY4SVZNa1ZtdE1YSkY2R1dkbFo1VDZ4QU5NNWs1TGd6YVI3Zz09LmJ0b0FObzR4TFIwa2dxazh3VnZ3U2tUbjdKZkZsYzVSOEZoQk1EYmR0MGpqcVhCeVpDY3hadHZCMmNYRlU4QUpyeC9pc3VPQnhEdzg2NEpQVVBLekUyT3dSalJ2MWxMVDRDMU9VekFacUxPazVSa3AxOU1wRy9CdXAxZk40S2phQTRvNzdSbmNqNDFGRXB1TXUrRUkvV3RzNkNlWE1zNy96OGNPdzRRMEVjUVJaZ01yUmZ2bW1ndFVVUmRUMExwRWtNUEppSHp1c2R1RmV1akNHK0NJZC9iTDBCbllyM01HQXBtcEwwa1RmUmE4ZzRqNm9hWFMvTXEwSTJEVlh3OEM5STVBZVQwNyswYkJJQkdLR2lidXJrUGhkZis1RUZqNFdWTXYrano1ckc4Zk9vTGNmbjNhalFkeC9pNmpPeFhMUHI3MzhTdVBwN2w4YlhnMDliK1BhT3UvVThhUDlnM3hzaGg1UnExMVllOE44a242SklDRTZMM2NEWjh1Uy9EUWpWc0NJQlB1NERFRXBOMm1Hbm1HSE04SjRiRCtxYnlvbXgvV0Zxenc2MWVnaXNtbDFDSzcyaXUwdTV2d3lvS2dtVXR2eGcra0UwMkFCT2xhaVptVHhNTjBCajBWbDNzZnR2cWNUdmJHRHRaK1MwZnlCUzhhcGErWklHTzRrV1k5VFhCQmdNM1M2Z0JRbDI0cnprL2w3MENYbzJWdi9QTkhTVU1uOEw2dnE5MkpNMDVhajQ1Y3hXekRxK0UwYjV3WHdmSkF1M1ZEWGZRMHR2cVJGKzM1UUl5SEhteG4zQkxhaGZCTDVTS3UwbGQ0c3RSWCtyaVpZMlZIQW5jNGNST3g2bmtrSFYzOXZrREZqWkpwRHhBTFJ0RnlTRWNwNWRESzJUUFUyUklWcURuTDNzc1FZY01jKzEzV0RZNCtQZ1hBVjc5VVJFb0VqTVpqUUtydTRCTHRkRlBsUVZBUUZVSXdnQjAzUWU0Y3A5TT0="
},
"metadata": {}
}
Instructions
Secure Payments lets you process checking account payments through VersaPay. Before you can process a payment, you'll first need to Create a VersaaPay Processor. That processor's ID is used in this request's endpoint. If you don't know the IDs of your processors, use the Get Processors endpoint.
The payload itself asks for a Secure Payments checking account token as well as some transaction-related info like the amount, direction of the fund transfer, and the customers contact info.
For more info, see our article Secure Payments API – VersaPay Process Payment.
Try It Instructions
To get a 200 response from the Try It option, enter the ID for a VersaPay checking account processor in the Path Params area. You are also required to enter the amount of the transaction and the funds-direction field.