---
updatedAt: 2025-11-13T14:40:59.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/v1.0-Global-Integration/llms.txt
---

# The response object

## Attributes

| Attribute           | Data type | Description                                                                                                                     |
| :------------------ | :-------- | :------------------------------------------------------------------------------------------------------------------------------ |
| **message**         | *string*  | A message on the action taken on the virtual card.                                                                              |
| **code**            | *string*  | A code sharing the status of this action. The code will be "success" for 200 responses, or explain the error for 400 responses. |
| **checkout\_token** | *string*  | The `checkout_id` of the virtual card.                                                                                          |

```json The Response Object
{
    "message": "The card was successfully canceled",
    "code": "success",
    "checkout_token": "FA0UUFRGOND84S7C"
}
```

# Sibling pages

* [The card object](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/the-card-object.md)
* [The billing object](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/the-billing-object.md)
* [Name object](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/name-object.md)
* [Address object](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/address-object.md)
* [Read Card](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/read_card.md)
* [Cancel Card](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/cancel_card.md)
* [Finalize a card](https://docs.affirm.com/developers/v1.0-Global-Integration/reference/finalize_card.md)