Buying Gift Cards using Credit Account Balance

ejcorpuzejcorpuz Member Posts: 13
edited August 11 in Development

Hello I need help regarding using the Customer Account Balance to be a Gift Card balance.

On the retail API I'm receiving error

"You cannot pay for required deposits with a credit account charge"

I'm using this parameter on the sale

{

  "employeeID": 1,

  "shopID": 1,

  "registerID": 1,

  "completed": true,

  "customerID": "7",

  "SalePayments": {

    "SalePayment": [

      {

        "amount": -600,

        "creditAccountID": 9,

        "paymentTypeID": 5

      },

      {

        "amount": 600,

        "paymentTypeID": 4,

        "registerID": 1,

        "employeeID": 1

      }

    ]

  },

  "SaleLines": {

    "SaleLine": []

  }

}

Post edited by Joey on

1 comment

Sign In or Register to comment.