Adding payments to a bill

NOTE - To obtain the API Key that this endpoint requires, you need to register. Get in touch with our team

Adding an external payment

NOTE - This endpoint is deprecated.

This will show you how to add an external payment to an existing bill. One use case for doing this would be to allow someone like Verifone to process the payment and still have this recorded in Flyt.

curl -X "POST" "https://api.flypaythis.com/v2/bill/%d/add-external-payment" \
     -H 'Content-Type: application/json' \
     -H 'X-API-KEY: abc123' \
     -d $'{
            "totalExcludingTip": 10.00,
            "tip": 2.00,
            "cardId": 1
          }'

The response will return with a 201 if everything worked.