Billing refunds and disputes
billing.payment.v1.DisputeService/ListDisputes (38-payments-and-tax.md, API Surface, Refunds and disputes). Newest first.
BearerAuthAuthorization<token>Access token as "Bearer "
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
status?stringstatus: needs_response, under_review, won, lost or warning_closed
customer_id?stringA cust_ id
A list of Dispute objects with pagination
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/billing/disputes'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.payment.v1.DisputeService/GetDispute (38-payments-and-tax.md, API Surface, Refunds and disputes).
BearerAuthAuthorization<token>Access token as "Bearer "
dispute_id*stringid
A Dispute object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X GET 'https://api.us.pontive.com/v1/billing/disputes/string'{ "id": "string", "object": "string"}billing.payment.v1.RefundService/ListRefunds (38-payments-and-tax.md, API Surface, Refunds and disputes). Newest first.
BearerAuthAuthorization<token>Access token as "Bearer "
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
payment_id?stringA pay_ id
customer_id?stringA cust_ id
status?stringstatus: pending, succeeded, failed or canceled
A list of Refund objects with pagination
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/billing/refunds'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.payment.v1.PaymentService/RefundPayment (38-payments-and-tax.md, API Surface, Payments; Refunds). Refunds a succeeded provider payment and creates its credit note, lines spread in proportion. amount is required; reason is duplicate, fraudulent or requested_by_customer (the default). The refund is answered as it stands once sent to the provider, usually pending. More than is left of the payment, an external or unsucceeded payment, or a payment with an open dispute is refund_exceeds_payment.
BearerAuthAuthorization<token>Access token as "Bearer "
X-Idempotency-Key?stringIdempotency key
A Refund object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/refunds'{ "id": "string", "object": "string"}billing.payment.v1.RefundService/GetRefund (38-payments-and-tax.md, API Surface, Refunds and disputes).
BearerAuthAuthorization<token>Access token as "Bearer "
refund_id*stringid
A Refund object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X GET 'https://api.us.pontive.com/v1/billing/refunds/string'{ "id": "string", "object": "string"}