# RegistrationTransaction

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/types/objects/registration-transaction


A transaction (Payment or Refund) viewed from the perspective of a single registration. Exposes both the full transaction (group total) and the amount allocated to this registration.

```graphql
type RegistrationTransaction {
  transaction: OrderTransaction!
  allocatedAmountCents: Int!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>RegistrationTransaction.<b>transaction</b></code>](#transaction)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>OrderTransaction!</b></code>](/organizer/content-api/graphql-event-api-schema/types/unions/order-transaction.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="union"/> {/* #transaction */} 

#### [<code style={{ fontWeight: 'normal' }}>RegistrationTransaction.<b>allocatedAmountCents</b></code>](#allocated-amount-cents)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #allocated-amount-cents */} 
The portion of the transaction amount attributable to this registration. For non-group registrations this equals the full transaction amount.

### Member Of

[`Registration`](/organizer/content-api/graphql-event-api-schema/types/objects/registration.mdx)  <Badge class="badge badge--secondary badge--relation" text="object"/>
