Route funds from transactions to different bank accounts for a single paypoint
Payabli allows you to route funds from a transaction to a specific bank account for the paypoint. This option only works with a single paypoint that’s running the transaction, and can’t be used to distribute funds to accounts that belong to other paypoints.
After a paypoint is boarded, the Payabli team configures the merchant’s bank accounts. Payabli can add as many separate accounts as you need, and each account has an accountId.
You can retrieve accountId values for all a Paypoint’s accounts by sending a GET request to the /Paypoint endpoint. They’re returned in objects in the Credentials array.
In this example, there are two accounts for ACH (187-782 and 187-783) and two accounts for card (187-798 and 187-799)
{"isSuccess":true,"responseText":"Success","responseCode":1,"":{"Paypoint":{"IdPaypoint":187,"DbaName":"The Board Haus","LegalName":"Board Haus LLC.","Address1":"1801 Main Avenue","Address2":"","City":"Durango","Zip":"81301","ServiceData":null,// Example truncated"Credentials":[{"Service":"ach","Mode":1,"Minticket":0.0,"Maxticket":100000.0,"CfeeFix":0.0,"CfeeFloat":0.0,"CfeeMin":0.0,"CfeeMax":0.0,"ReferenceId":348,"AccountId":"187-782"},{"Service":"ach","Mode":0,"Minticket":0.0,"Maxticket":100000.0,"CfeeFix":0.0,"CfeeFloat":0.0,"CfeeMin":0.0,"CfeeMax":0.0,"ReferenceId":348,"AccountId":"187-783"},{"Service":"card","Mode":0,"Minticket":0.0,"Maxticket":100000.0,"CfeeFix":0.0,"CfeeFloat":0.0,"CfeeMin":0.0,"CfeeMax":0.0,"ReferenceId":358,"AccountId":"187-798"},{"Service":"card","Mode":1,"Minticket":0.0,"Maxticket":100000.0,"CfeeFix":0.0,"CfeeFloat":0.0,"CfeeMin":0.0,"CfeeMax":0.0,"ReferenceId":358,"AccountId":"187-799"},// Example truncated]},},}
When there is more than one account set up for a payment method, you must pass an accountId with the transaction.
For example, if you have Account A and Account B set up for card transactions, each transaction must include an accountId for either Account A or Account B.
In these examples, Account A has an accountId of 187-798, and Account B has an accountId of 187-799.
curl--request POST \--url'https://api-sandbox.payabli.com/api/MoneyIn/getpaid?forceCustomerCreation=false'\--header'accept: application/json'\--header'content-type: application/*+json'\--header'requestToken: API TOKEN'{"entryPoint":"41035afaa7","paymentMethod":{"method":"card","cardnumber":"4293189100000008","cardexp":"0924","cardcvv":"345","cardzip":"34234","cardHolder":"John Smith"},"paymentDetails":{"totalAmount":20,"serviceFee":0.00},"customerData":{"customerId":224,"customerNumber":"888","billingAddress1":"5127 Linkwood ave"},"accountId":"187-798"
If a paypoint is set up with multiple accounts and you don’t include an accountId with a transaction, you’ll get a “Multiple Gateway Data for payment method” error:
Example error response
{"responseText":"Declined","isSuccess":false,"responseData":{"authCode":null,"referenceId":null,"resultCode":3,"resultText":"Multiple Gateway Data for payment method","avsResponseText":null,"cvvResponseText":null,"customerId":null,"methodReferenceId":null}}