Skip to content

Commit

Permalink
Copy to v3.0 docs too
Browse files Browse the repository at this point in the history
  • Loading branch information
billhorsman committed Aug 30, 2024
1 parent aad798e commit 71fa8b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/includes/admin_api/3.0/_registrations.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,19 @@ Show that a `Registration` has NOT been paid. Useful if you are allowing your cu
* `registration_slug` - The `slug` attribute of a `Registration`.

Changes the `receipt_paid` attribute to false.

## Refund a Registration

<%= show_url "registrations/:registration_slug/refunds", method: :post, params: { refund: { manual: false } }%>
<%= show_url_key "POST registrations/:registration_slug/refunds" %>

### Parameters

<%= list_simple_attributes "refund[manual]": { type: :boolean, description: "Set to true if you don't want to refund via the payment provider or false if you do.", required: true } %>

## Cancel a Registration

<%= show_url "registrations/:registration_slug/cancellation", method: :post %>
<%= show_url_key "POST registrations/:registration_slug/cancellation" %>

This will cancel a registration and void any associated tickets.

0 comments on commit 71fa8b0

Please sign in to comment.