You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/payments.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,40 +33,40 @@ curl -X POST http://api-test.cleartreasury.co.uk/api/payments \
33
33
"currency": "GBP",
34
34
"amount": "500",
35
35
"purpose": "Making an investment",
36
-
"payment_guid": "<your GUID>"
36
+
"payment_reference": ""
37
37
}'
38
38
```
39
39
40
40
> Example response:
41
41
42
42
```json
43
43
{
44
-
"PaymentGuid": "<your GUID>"
44
+
"PaymentGuid": "<GUID>"
45
45
}
46
46
```
47
47
48
48
### Request
49
49
50
50
`POST /payments?client_ref={client_ref}`
51
51
52
-
**Trade reference**: If this payment is not linked to a trade leave it blank, or set it to `"auto"` to attempt to automatically retrieve an available trade.
52
+
**Trade reference**: If this payment is not linked to a trade leave it blank, or
53
+
set it to `"auto"` to attempt to automatically retrieve an available trade.
53
54
54
-
| Name | Description | Required | Type | Additional information |
0 commit comments