Record a payment on an invoice
Record that a sent invoice was paid, by a deposit Slash didn’t match on its own or outside Slash.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Body
Send exactly one of transactionId or external. The payment replaces any payments already recorded.
Response
The invoice with the payment.
A request for payment you send a customer. Slash emails it, hosts a payment page at payUrl, matches incoming deposits to it and keeps its status and amounts up to date. All amounts are in USD.