# payment.add

Save another complete payment method without changing the default. Bank and Wise email methods can be kept together. Details are encrypted and only shown partly again.

`POST /api/v1/contractor/payment.add`

Permissions: `contractor:read`, `contractor:write` · Roles: contractor · Idempotency key required

MCP tool: `contractor_payment_add`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |
| `method` | enum | Yes | One of: `wise_email`, `bank_transfer`, `interac`, `other`. |
| `currency` | string | Yes | Three-letter currency code, such as CAD or USD. |
| `details` | object | Yes | No other fields. |
| `details.wiseEmail` | string (email) or null |  |  |
| `details.wiseLink` | string or null |  |  |
| `details.accountHolderName` | string or null |  |  |
| `details.bankName` | string or null |  |  |
| `details.bankAddress` | string or null |  |  |
| `details.accountNumber` | string or null |  |  |
| `details.swiftBic` | string or null |  |  |
| `details.iban` | string or null |  |  |
| `details.institutionNumber` | string or null |  |  |
| `details.transitNumber` | string or null |  |  |
| `details.routingNumber` | string or null |  |  |
| `details.accountType` | enum or null |  | One of: `checking`, `savings`. |
| `details.country` | string or null |  |  |
| `details.interacEmail` | string (email) or null |  |  |
| `details.otherInstructions` | string or null |  |  |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/contractor/payment.add \
  -H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
  -H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "method": "wise_email",
  "currency": "CAD",
  "details": {}
}'
```

Reference page: https://app.getoatmilk.com/docs/api/contractor/payment.add
