Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name
Description
Value Type
Required
type

The type of the payment to be posted. Available types:"

  • cash
", "check", "paypal", "
  • check
  • paypal
  • money_order
", "tbd", "evopay", "
  • tbd
  • evopay
  • credit_card
"
  • offline
StringRequired
order_idID of the order on which the payment will be createdintegerRequired
is_refundCreate payment in the opposite direction, where the order seller will refund money to the buyer.booleanOptional
amountThe amount of the payment. Will be created for order total if omitted.Decimal

Optional

billing_address_idID of an addressintegerRequired if type is "credit_card"
is_completedAutomatically transition state from "pending" to "completed" after creationbooleanOptional

...

RequestResponse
/v9/payments 
Code Block
languageruby
themeConfluencelanguageruby
{
  "payments":[
    {
      "order_id":"75155",
      "type":"cash",
      "amount":"15"
    }
  ]
}

 

See Payments / Index