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": "my-entry-point",
    "paymentMethod": {
        "method": "card",
        "storedMethodId": "c9700e93-b2ed-4b75-b1e4-ca4fb04fbe45-224"
    },
    "paymentDetails": {
        "totalAmount":20.00
     		 "serviceFee":  0
        
    },
		"customerData": {
        "customerId": 224,
        "customerNumber": "888",
        "billingAddress1": "5127 Linkwood ave"
        
    }
}

You can make a sale transaction with a customer’s saved payment method, sometimes referred to as card-on-file or a payment token.

Pass the saved method’s token in as storedMethodId when making a transaction with /MoneyIn/getpaid endpoint or authorizing a transaction with /MoneyIn/authorize.

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": "my-entry-point",
    "paymentMethod": {
        "method": "card",
        "storedMethodId": "c9700e93-b2ed-4b75-b1e4-ca4fb04fbe45-224"
    },
    "paymentDetails": {
        "totalAmount":20.00
     		 "serviceFee":  0
        
    },
		"customerData": {
        "customerId": 224,
        "customerNumber": "888",
        "billingAddress1": "5127 Linkwood ave"
        
    }
}