# source\_transaction

From **Stripe API**.

Some payment methods have no required amount that a customer must send.
Customers can be instructed to send any amount, and it can be made up of
multiple transactions. As such, sources can have multiple associated
transactions.

- Type: `object`

## Properties

### `ach_credit_transfer`

- Required: false
- Type: `object`

### `amount`

- Required: true
- Type: `integer`

A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.

### `chf_credit_transfer`

- Required: false
- Type: `object`

### `created`

- Required: true
- Type: `integer`
- Format: `unix-time`

Time at which the object was created. Measured in seconds since the Unix epoch.

### `currency`

- Required: true
- Type: `string`

Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

### `gbp_credit_transfer`

- Required: false
- Type: `object`

### `id`

- Required: true
- Type: `string`
- maxLength: `5000`

Unique identifier for the object.

### `livemode`

- Required: true
- Type: `boolean`

Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

### `object`

- Required: true
- Type: `string`
- Allowed values: `"source_transaction"`

String representing the object's type. Objects of the same type share the same value.

### `paper_check`

- Required: false
- Type: `object`

### `sepa_credit_transfer`

- Required: false
- Type: `object`

### `source`

- Required: true
- Type: `string`
- maxLength: `5000`

The ID of the source this transaction is attached to.

### `status`

- Required: true
- Type: `string`
- maxLength: `5000`

The status of the transaction, one of `succeeded`, `pending`, or `failed`.

### `type`

- Required: true
- Type: `string`
- Allowed values: `"ach_credit_transfer"`, `"ach_debit"`, `"alipay"`, `"bancontact"`, `"card"`, `"card_present"`, `"eps"`, `"giropay"`, `"ideal"`, `"klarna"`, `"multibanco"`, `"p24"`, `"sepa_debit"`, `"sofort"`, `"three_d_secure"`, `"wechat"`

The type of source this transaction is attached to.

## JSON Schema

```json
{"description":"Some payment methods have no required amount that a customer must send.\nCustomers can be instructed to send any amount, and it can be made up of\nmultiple transactions. As such, sources can have multiple associated\ntransactions.","properties":{"ach_credit_transfer":{"$ref":"#/components/schemas/source_transaction_ach_credit_transfer_data"},"amount":{"description":"A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.","type":"integer"},"chf_credit_transfer":{"$ref":"#/components/schemas/source_transaction_chf_credit_transfer_data"},"created":{"description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time","type":"integer"},"currency":{"description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).","type":"string"},"gbp_credit_transfer":{"$ref":"#/components/schemas/source_transaction_gbp_credit_transfer_data"},"id":{"description":"Unique identifier for the object.","maxLength":5000,"type":"string"},"livemode":{"description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.","type":"boolean"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["source_transaction"],"type":"string"},"paper_check":{"$ref":"#/components/schemas/source_transaction_paper_check_data"},"sepa_credit_transfer":{"$ref":"#/components/schemas/source_transaction_sepa_credit_transfer_data"},"source":{"description":"The ID of the source this transaction is attached to.","maxLength":5000,"type":"string"},"status":{"description":"The status of the transaction, one of `succeeded`, `pending`, or `failed`.","maxLength":5000,"type":"string"},"type":{"description":"The type of source this transaction is attached to.","enum":["ach_credit_transfer","ach_debit","alipay","bancontact","card","card_present","eps","giropay","ideal","klarna","multibanco","p24","sepa_debit","sofort","three_d_secure","wechat"],"type":"string"}},"required":["amount","created","currency","id","livemode","object","source","status","type"],"title":"SourceTransaction","type":"object","x-expandableFields":["ach_credit_transfer","chf_credit_transfer","gbp_credit_transfer","paper_check","sepa_credit_transfer"],"x-resourceId":"source_transaction"}
```
