> Index of every page: https://docs.merchantservicedepot.com/llms.txt

# API reference

> Every /v1 endpoint, generated from the route table: 76 operations in 11 groups.

## Start here

- [Capabilities](https://docs.merchantservicedepot.com/api-reference/capabilities.md): `GET /v1/capabilities`
- [List request logs](https://docs.merchantservicedepot.com/api-reference/list-request-logs.md): `GET /v1/request_logs`

## Customers & cards

- [Create customer](https://docs.merchantservicedepot.com/api-reference/create-customer.md): `POST /v1/customers`
- [Retrieve customer](https://docs.merchantservicedepot.com/api-reference/retrieve-customer.md): `GET /v1/customers/{customer_id}`
- [Update customer](https://docs.merchantservicedepot.com/api-reference/update-customer.md): `POST /v1/customers/{customer_id}`
- [List customers](https://docs.merchantservicedepot.com/api-reference/list-customers.md): `GET /v1/customers`
- [Add a card from a token](https://docs.merchantservicedepot.com/api-reference/add-a-card-from-a-token.md): `POST /v1/payment_methods`
- [List saved cards](https://docs.merchantservicedepot.com/api-reference/list-saved-cards.md): `GET /v1/payment_methods`
- [Set default card](https://docs.merchantservicedepot.com/api-reference/set-default-card.md): `POST /v1/payment_methods/{payment_method_id}/default`
- [Retrieve card](https://docs.merchantservicedepot.com/api-reference/retrieve-card.md): `GET /v1/payment_methods/{payment_method_id}`
- [Delete customer](https://docs.merchantservicedepot.com/api-reference/delete-customer.md): `DELETE /v1/customers/{customer_id}`
- [Delete payment method](https://docs.merchantservicedepot.com/api-reference/delete-payment-method.md): `DELETE /v1/payment_methods/{payment_method_id}`

## Payments

- [Create a payment](https://docs.merchantservicedepot.com/api-reference/create-a-payment.md): `POST /v1/payments`
- [Capture an authorization](https://docs.merchantservicedepot.com/api-reference/capture-an-authorization.md): `POST /v1/payments/{auth_id}/capture`
- [Void a payment](https://docs.merchantservicedepot.com/api-reference/void-a-payment.md): `POST /v1/payments/{payment_id}/void`
- [Refund a payment](https://docs.merchantservicedepot.com/api-reference/refund-a-payment.md): `POST /v1/payments/{payment_id}/refund`
- [Retrieve a payment](https://docs.merchantservicedepot.com/api-reference/retrieve-a-payment.md): `GET /v1/payments/{payment_id}`
- [List payments](https://docs.merchantservicedepot.com/api-reference/list-payments.md): `GET /v1/payments`
- [Issue a standalone credit](https://docs.merchantservicedepot.com/api-reference/issue-a-standalone-credit.md): `POST /v1/credits`

## Addresses

- [Create address](https://docs.merchantservicedepot.com/api-reference/create-address.md): `POST /v1/addresses`
- [List addresses](https://docs.merchantservicedepot.com/api-reference/list-addresses.md): `GET /v1/addresses`
- [Retrieve address](https://docs.merchantservicedepot.com/api-reference/retrieve-address.md): `GET /v1/addresses/{address_id}`
- [Update address](https://docs.merchantservicedepot.com/api-reference/update-address.md): `POST /v1/addresses/{address_id}`
- [Set default address](https://docs.merchantservicedepot.com/api-reference/set-default-address.md): `POST /v1/addresses/{address_id}/default`
- [Delete address](https://docs.merchantservicedepot.com/api-reference/delete-address.md): `DELETE /v1/addresses/{address_id}`

## Plans and subscriptions

- [Create plan](https://docs.merchantservicedepot.com/api-reference/create-plan.md): `POST /v1/plans`
- [Retrieve plan](https://docs.merchantservicedepot.com/api-reference/retrieve-plan.md): `GET /v1/plans/{plan_id}`
- [List plans](https://docs.merchantservicedepot.com/api-reference/list-plans.md): `GET /v1/plans`
- [Create subscription](https://docs.merchantservicedepot.com/api-reference/create-subscription.md): `POST /v1/subscriptions`
- [Retrieve subscription](https://docs.merchantservicedepot.com/api-reference/retrieve-subscription.md): `GET /v1/subscriptions/{subscription_id}`
- [List subscriptions](https://docs.merchantservicedepot.com/api-reference/list-subscriptions.md): `GET /v1/subscriptions`
- [Cancel subscription](https://docs.merchantservicedepot.com/api-reference/cancel-subscription.md): `POST /v1/subscriptions/{subscription_id}/cancel`

## Invoices and scheduled collection

- [Create invoice](https://docs.merchantservicedepot.com/api-reference/create-invoice.md): `POST /v1/invoices`
- [Retrieve invoice](https://docs.merchantservicedepot.com/api-reference/retrieve-invoice.md): `GET /v1/invoices/{invoice_id}`
- [Download invoice PDF](https://docs.merchantservicedepot.com/api-reference/download-invoice-pdf.md): `GET /v1/invoices/{invoice_id}/pdf`
- [Send invoice](https://docs.merchantservicedepot.com/api-reference/send-invoice.md): `POST /v1/invoices/{invoice_id}/deliveries`
- [List invoice deliveries](https://docs.merchantservicedepot.com/api-reference/list-invoice-deliveries.md): `GET /v1/invoices/{invoice_id}/deliveries`
- [Retrieve invoice delivery](https://docs.merchantservicedepot.com/api-reference/retrieve-invoice-delivery.md): `GET /v1/invoices/{invoice_id}/deliveries/{invoice_delivery_id}`
- [Invoice delivery QR code](https://docs.merchantservicedepot.com/api-reference/invoice-delivery-qr-code.md): `GET /v1/invoices/{invoice_id}/deliveries/{invoice_delivery_id}/qr`
- [List invoices](https://docs.merchantservicedepot.com/api-reference/list-invoices.md): `GET /v1/invoices`
- [Schedule invoice collection](https://docs.merchantservicedepot.com/api-reference/schedule-invoice-collection.md): `POST /v1/invoices/{invoice_id}/schedule`
- [Cancel scheduled collection](https://docs.merchantservicedepot.com/api-reference/cancel-scheduled-collection.md): `POST /v1/invoices/{invoice_id}/cancel_schedule`
- [Collect due invoices now (sandbox)](https://docs.merchantservicedepot.com/api-reference/collect-due-invoices-now-sandbox.md): `POST /v1/invoices/scheduler/run`
- [List collection attempts](https://docs.merchantservicedepot.com/api-reference/list-collection-attempts.md): `GET /v1/invoices/{invoice_id}/attempts`
- [Void invoice](https://docs.merchantservicedepot.com/api-reference/void-invoice.md): `POST /v1/invoices/{invoice_id}/void`

## Recurring invoices

- [Create recurring invoice](https://docs.merchantservicedepot.com/api-reference/create-recurring-invoice.md): `POST /v1/recurring_invoices`
- [Retrieve recurring invoice](https://docs.merchantservicedepot.com/api-reference/retrieve-recurring-invoice.md): `GET /v1/recurring_invoices/{recurring_invoice_id}`
- [List recurring invoices](https://docs.merchantservicedepot.com/api-reference/list-recurring-invoices.md): `GET /v1/recurring_invoices`
- [Update recurring invoice](https://docs.merchantservicedepot.com/api-reference/update-recurring-invoice.md): `POST /v1/recurring_invoices/{recurring_invoice_id}`
- [Pause recurring invoice](https://docs.merchantservicedepot.com/api-reference/pause-recurring-invoice.md): `POST /v1/recurring_invoices/{recurring_invoice_id}/pause`
- [Resume recurring invoice](https://docs.merchantservicedepot.com/api-reference/resume-recurring-invoice.md): `POST /v1/recurring_invoices/{recurring_invoice_id}/resume`
- [Cancel recurring invoice](https://docs.merchantservicedepot.com/api-reference/cancel-recurring-invoice.md): `POST /v1/recurring_invoices/{recurring_invoice_id}/cancel`

## Payment links

- [Create payment link](https://docs.merchantservicedepot.com/api-reference/create-payment-link.md): `POST /v1/payment_links`
- [Retrieve payment link](https://docs.merchantservicedepot.com/api-reference/retrieve-payment-link.md): `GET /v1/payment_links/{payment_link_id}`
- [List payment links](https://docs.merchantservicedepot.com/api-reference/list-payment-links.md): `GET /v1/payment_links`
- [Send payment link](https://docs.merchantservicedepot.com/api-reference/send-payment-link.md): `POST /v1/payment_links/{payment_link_id}/deliveries`
- [List link deliveries](https://docs.merchantservicedepot.com/api-reference/list-link-deliveries.md): `GET /v1/payment_links/{payment_link_id}/deliveries`
- [Retrieve link delivery](https://docs.merchantservicedepot.com/api-reference/retrieve-link-delivery.md): `GET /v1/payment_links/{payment_link_id}/deliveries/{link_delivery_id}`
- [Link delivery QR code](https://docs.merchantservicedepot.com/api-reference/link-delivery-qr-code.md): `GET /v1/payment_links/{payment_link_id}/deliveries/{link_delivery_id}/qr`
- [Cancel payment link](https://docs.merchantservicedepot.com/api-reference/cancel-payment-link.md): `POST /v1/payment_links/{payment_link_id}/cancel`

## Webhook endpoints and deliveries

- [Create webhook endpoint](https://docs.merchantservicedepot.com/api-reference/create-webhook-endpoint.md): `POST /v1/webhook_endpoints`
- [List webhook endpoints](https://docs.merchantservicedepot.com/api-reference/list-webhook-endpoints.md): `GET /v1/webhook_endpoints`
- [Retrieve webhook endpoint](https://docs.merchantservicedepot.com/api-reference/retrieve-webhook-endpoint.md): `GET /v1/webhook_endpoints/{webhook_endpoint_id}`
- [Update webhook endpoint](https://docs.merchantservicedepot.com/api-reference/update-webhook-endpoint.md): `POST /v1/webhook_endpoints/{webhook_endpoint_id}`
- [Delete webhook endpoint](https://docs.merchantservicedepot.com/api-reference/delete-webhook-endpoint.md): `DELETE /v1/webhook_endpoints/{webhook_endpoint_id}`
- [List deliveries](https://docs.merchantservicedepot.com/api-reference/list-deliveries.md): `GET /v1/webhook_deliveries`
- [Retrieve delivery](https://docs.merchantservicedepot.com/api-reference/retrieve-delivery.md): `GET /v1/webhook_deliveries/{webhook_delivery_id}`
- [Replay delivery](https://docs.merchantservicedepot.com/api-reference/replay-delivery.md): `POST /v1/webhook_deliveries/{webhook_delivery_id}/replay`

## Myela Elements (browser)

- [Create checkout session (embedded)](https://docs.merchantservicedepot.com/api-reference/create-checkout-session-embedded.md): `POST /v1/checkout_sessions`
- [Quote a tip and tax](https://docs.merchantservicedepot.com/api-reference/quote-a-tip-and-tax.md): `POST /v1/checkout_sessions/{checkout_session_id}/quote`
- [Exchange for a payment token](https://docs.merchantservicedepot.com/api-reference/exchange-for-a-payment-token.md): `POST /v1/tokens`

## Bulk actions

- [Bulk create customers](https://docs.merchantservicedepot.com/api-reference/bulk-create-customers.md): `POST /v1/bulk_jobs/customers`
- [Bulk capture authorizations](https://docs.merchantservicedepot.com/api-reference/bulk-capture-authorizations.md): `POST /v1/bulk_jobs/captures`
- [Bulk create and schedule invoices](https://docs.merchantservicedepot.com/api-reference/bulk-create-and-schedule-invoices.md): `POST /v1/bulk_jobs/invoices`
- [Retrieve bulk job](https://docs.merchantservicedepot.com/api-reference/retrieve-bulk-job.md): `GET /v1/bulk_jobs/{bulk_job_id}`
- [Resume bulk job](https://docs.merchantservicedepot.com/api-reference/resume-bulk-job.md): `POST /v1/bulk_jobs/{bulk_job_id}/resume`

Source: https://docs.merchantservicedepot.com/api-reference/
