# API Payment Parameters

### Required Fields

- **payer_id**  
  Type: `string`  
  Description: Payer ID

- **recipient_id**  
  Type: `string`  
  Description: Recipient ID to send Payment

- **amount**  
  Type: `double`  
  Description: Payment amount, e.g., `25.15` or `25.00`

### Optional Fields

- **reference_id**  
  Type: `string`  
  Description: Payer reference ID

- **memo**  
  Type: `string`  
  Description: Payment memo

- **Idempotency-Key**  
  Type: `string`  
  Description: Uniquely generated key

## API Response Codes

- `201`  - Successful payment  
- `400`  - Bad request

## Example cURL Request

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

### Response Format

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

*Updated 8 months ago*
