Skerry/ Reference/ Accepting payments
Accepting payments28
Take card and wallet payments for a customer. The payer pays on a hosted page, so card details never reach Skerry or you. Amounts are integer minor units next to a currency code. Build orders from payment.succeeded, never from the payer's browser returning to your site.
- Checkout sessions, newest first. `?customer_id=&status=&external_ref=`get/checkout-sessions
- Start a hosted checkout for a payerpost/checkout-sessions
- One sessionget/checkout-sessions/{id}
- Close an open session so it can no longer be paidpost/checkout-sessions/{id}/expire
- Payment links, newest first. `?customer_id=&external_ref=`get/payment-links
- A reusable or single-use link to a hosted checkout for a fixed amountpost/payment-links
- One payment link, with how many times it has been usedget/payment-links/{id}
- Pause, resume or disable a linkpatch/payment-links/{id}
- Payments, newest firstget/payments
- Charge a saved method with the payer absent, under the mandate they gavepost/payments
- One paymentget/payments/{id}
- Collect funds that were held. May capture less than the holdpost/payments/{id}/capture
- Release a hold, or abandon a payment that has not succeededpost/payments/{id}/cancel
- Refunds made against a paymentget/payments/{id}/refunds
- Refund all or part of a paymentpost/payments/{id}/refunds
- Disputes against payments, newest first. `?customer_id=&status=`get/disputes
- One dispute, with the date evidence is dueget/disputes/{id}
- Send evidence, and submit it when completepost/disputes/{id}/evidence
- Files uploaded for a dispute, newest firstget/disputes/{id}/files
- Upload a file to use as evidence: PDF, JPEG or PNG, up to 5 MB, base64-encodedpost/disputes/{id}/files
- A draft of the text evidence from what is on recordget/disputes/{id}/suggested-evidence
- Customers unmatched deposits listget/customers/{id}/unmatched-deposits
- Credit a deposit that was set aside to the checkout session it was meant forpost/customers/{id}/unmatched-deposits/{deposit_id}/assign
- Send a deposit that was set aside back, wholepost/customers/{id}/unmatched-deposits/{deposit_id}/refund
- Card proceeds on their way to the business's bank, newest first. `?customer_id=`get/settlements
- Send proceeds to the business's bank now. Needs an Idempotency-Keypost/settlements
- One settlementget/settlements/{id}
- What the customer holds per currencyget/customers/{id}/balances