post
https://test-api.bill.pro/api/v2/profiles//orders//pay_with_card
Charges a card the customer has already saved. There's no payment form: BillPro charges the card straight away. The card also becomes the order's card.
Set operation to choose what to charge:
initial_payment: the order's first payment. Use it on an order whose status isdraft,pendingorrejected. If the order has nothing to collect up front, the card is saved on the order and nothing is charged:paymentisnulland the order becomesregistered.recover_failed_payments: every payment that's due and unpaid. That's each scheduled payment that failed, was rejected, or passed its date without being collected. They're merged into one payment for the total and charged now.
A declined card returns 200 with result.successful: false, not an error. message says why.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…