Api reference
Create and pay for a transfer
Consumes a pending quote, creates the delivery, and charges the merchant balance.
Authorization
bearerAuth AuthorizationBearer <token>
Access token returned by POST /auth/token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/transfer" \ -H "Content-Type: application/json" \ -d '{ "matchmakingId": "22222222-2222-4222-8222-222222222222", "productKey": "YOUR_PRODUCT_KEY", "description": "One small package", "recipientInfo": { "firstName": "Nino", "lastName": "Beridze", "phone": "+995555123456" } }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "inProgress", "transferCode": "string", "trackingCode": "string", "parcelSize": "string", "description": "string", "pickupLocation": { "type": "Point", "coordinates": [ 0, 0 ] }, "pickupAddress": "string", "destinationLocation": { "type": "Point", "coordinates": [ 0, 0 ] }, "destinationAddress": "string", "destinationAddressMetadata": {}, "pickupAddressMetaData": {}, "deliveryOptionName": "string", "paymentTtlMinutes": 0, "paymentExpiresAt": "2019-08-24T14:15:22Z", "recipientInfo": { "firstName": "string", "lastName": "string", "phone": "string" }, "source": "API", "recipientFullName": "string", "totalPrice": 0, "isFragile": true, "isPerishable": true, "senderInfo": {}, "warehouseId": "42912a8b-9d3f-4436-9cfe-fb2306e3310f"}