Create Payment Request
POST {{baseUrl}}/payments
Create a Payment Request
Request Body
{"data"=>{"paymentType"=>"Passthrough", "sellerId"=>"41fdd56b-661f-488a-abe9-635509c45698", "paymentAmount"=>{"currency"=>"USD", "amount"=>"10000.00"}, "paymentDate"=>"2022-07-27", "associatedLedgerEntriesAndFees"=>[{"ledgerEntryId"=>"41fdd56b-661f-488a-abe9-635509c18430", "paymentImpact"=>"Credit"}]}}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| X-HSBC-Request-Correlation-Id | string | (Required) Correlation Id | |
| X-HSBC-Request-Idempotency-Key | string | (Required) Idempotency Key | |
| X-HSBC-CountryCode | string | (Required) ISO Country Code | |
| X-HSBC-PROFILEID | string | (Required) Partner Profile Id | |
| Obo-Profile-Id | string | (Required) Customer Profile Id | |
| X-HSBC-E2E-Trust-Token | string | (Required) | |
| Content-Type | string | ||
| Accept | string | ||
| Authorization | string | Authorization Header | 
RESPONSES
status: Created
{"data":{"paymentId":"35668ab2-5166-40bb-9baa-51a80857fb90","sellerId":"41fdd56b-661f-488a-abe9-635509c45698","paymentType":"Passthrough","paymentAmount":{"currency":"USD","amount":"10000.00"},"paymentDate":"2022-07-27","associatedLedgerEntriesAndFees":[{"ledgerEntryId":"41fdd56b-661f-488a-abe9-635509c18430","paymentImpact":"Credit"}]},"links":{"self":{"href":"/payments/35668ab2-5166-40bb-9baa-51a80857fb90"}}}