Synchrony Financial · Schema
Transaction
A Synchrony Financial credit transaction including purchases, payments, refunds, and reversals.
Financial ServicesCreditPaymentsConsumer FinanceRetail Finance
Properties
| Name | Type | Description |
|---|---|---|
| transactionId | string | Unique identifier for the transaction. |
| authorizationCode | string | Authorization code returned on approval. |
| status | string | Current transaction status. |
| type | string | Transaction type. |
| amount | number | Transaction amount in USD. |
| merchantId | string | Synchrony merchant identifier. |
| accountNumber | string | Masked credit account number. |
| channel | string | Transaction channel. |
| merchantOrderId | string | Merchant internal order reference. |
| timestamp | string | Transaction timestamp in ISO 8601 format. |
| message | string | Human-readable status message. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.syf.com/schemas/transaction",
"title": "Transaction",
"description": "A Synchrony Financial credit transaction including purchases, payments, refunds, and reversals.",
"type": "object",
"properties": {
"transactionId": {
"type": "string",
"description": "Unique identifier for the transaction."
},
"authorizationCode": {
"type": "string",
"description": "Authorization code returned on approval."
},
"status": {
"type": "string",
"enum": ["approved", "declined", "pending", "reversed"],
"description": "Current transaction status."
},
"type": {
"type": "string",
"enum": ["purchase", "preauthorization", "completion", "payment", "refund", "reversal"],
"description": "Transaction type."
},
"amount": {
"type": "number",
"format": "double",
"minimum": 0,
"description": "Transaction amount in USD."
},
"merchantId": {
"type": "string",
"description": "Synchrony merchant identifier."
},
"accountNumber": {
"type": "string",
"description": "Masked credit account number."
},
"channel": {
"type": "string",
"enum": ["web", "mobile", "pos"],
"description": "Transaction channel."
},
"merchantOrderId": {
"type": "string",
"description": "Merchant internal order reference."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Transaction timestamp in ISO 8601 format."
},
"message": {
"type": "string",
"description": "Human-readable status message."
}
},
"required": ["transactionId", "status", "type", "amount", "merchantId", "timestamp"]
}