The total of the requested payments does not match the total of the sale order."

Looking at the logs it appears your calling PayOrder instead of CreatePayment. PayOrder expects an array of payment_ids if the total of the order is greater then 0.

To make an EXTERNAL payment you’ll need to call CreatePayment with something like the following:

  {
  "idempotency_key": "3e3300d2-576b-408b-beb1-c036d34ea6a9",
  "source_id": "EXTERNAL",
  "order_id": "tgCNA6tn1nbLaLifXSPm0MoEJYFZY",
  "amount_money": {
    "amount": 265,
    "currency": "USD"
  },
  "external_details": {
    "type": "OTHER",
    "source": "Subscription Redemption",
    "Source_id": "Subport",
    "source_fee_money": {
      "amount": 265,
      "currency": "USD"
    }
  }
}

Also here’s the link to our guid on external payments. :slight_smile: