### Widget Payment Workflow

A payment must first be created using the [Create Payment](https://docs-v2.interchecks.com/docs/create-payment) endpoint and be in `PENDING` status.

#### Parameters

- **payer_id**  
  *Type:* string  
  *Required:* Yes  
  *Description:* Payer ID

- **recipient_id**  
  *Type:* string  
  *Description:* Recipient ID

- **payment_id**  
  *Type:* string  
  *Description:* Payment ID

#### HTTP Status Codes

- `201` - Result  
- `400` - Result  
- `422` - Result

#### Example Request

```bash
curl --request POST \
     --url https://test.api.interchecks.io/api/v2/payer_id/widgets/payments \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

#### Response Format

- **application/json**  
  - `201` - Result  
  - `400` - Result  
  - `422` - Result
