| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

**account_id**  
string  
required  
ID of the Account

**Body of request to create guest payment.**

| Field                  | Type      | Description  |
|------------------------|-----------|--------------|
| line_item_id           | string    | `^(?!can_).*$` The ID to be associated with the line item for future requests. |
| effective_at           | date-time | The `Date-Time` that the payment is applicable to the account. This field should only be used to back-date payment transactions for the purpose of testing or if a data migration is being performed with `migration_mode` enabled. |
| original_amount_cents  | integer   | required  Defaults to 0 The payment amount in cents. |
| payment_details        | object    | required  payment_detailsobject |
| external_fields        | object \\| null | External fields can be used to relate payments created in Canopy to entities in your or any external system. |

# Response Codes

| Code  | Description |
|-------|-------------|
| `200` | Payment created |
| `422` | Invalid input. |
| `429` | Too many requests. |
| `default` | Unexpected Error. |

**Example Request**  
```bash
curl --request POST \
     --url https://contact/%20sales%20to%20enable%20your%20sandbox/accounts//line_items/payments/guest_payment \
     --header 'accept: application/json' \ 
     --header 'content-type: application/json' \ 
     --data '{\n  "original_amount_cents": 0,\n  "payment_details": {\n    "payment_type": "ACH"\n  }\n}'
```

Click `Try It!` to start a request and see the response here!
