{"openapi":"3.1.0","info":{"title":"Dollr Open API","version":"1.0.0"},"paths":{"/{version}/checkouts/create":{"post":{"tags":["checkouts"],"summary":"Create Checkout Source","operationId":"create_checkout_source__version__checkouts_create_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCheckoutSourceRequestPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCheckoutSourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/counterparties/create":{"post":{"tags":["counterparties"],"summary":"Create Counterparty","operationId":"create_counterparty__version__counterparties_create_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCounterpartyPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounterPartyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/counterparties/list":{"get":{"tags":["counterparties"],"summary":"List Counterparties","operationId":"list_counterparties__version__counterparties_list_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"fullname","in":"query","required":false,"schema":{"anyOf":[{"type":"string","title":"Full name"},{"type":"null"}],"title":"Fullname"}},{"name":"relationship_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["CUSTOMER","FRIEND","DONOR","DONEE","FAMILY","EMPLOYEE","SUPPLIER","CONTACT","SERVICE_PROVIDER","PARTNER","BENEFICIARY"],"type":"string","title":"Relationship between counterparties"},{"type":"null"}],"title":"Relationship Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CounterPartyWithPartyResponse"},"title":"Response List Counterparties  Version  Counterparties List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/counterparties/retrieve/{id}":{"get":{"tags":["counterparties"],"summary":"Retrieve Counterparties","operationId":"retrieve_counterparties__version__counterparties_retrieve__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounterPartyWithPartyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/counterparties/update/{id}":{"put":{"tags":["counterparties"],"summary":"Update Counterparty","operationId":"update_counterparty__version__counterparties_update__id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCounterpartyPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounterPartyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/executions/collection":{"post":{"tags":["executions"],"summary":"Collect","operationId":"collect__version__executions_collection_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutExecutionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/executions/payout":{"post":{"tags":["executions"],"summary":"Payout","operationId":"payout__version__executions_payout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutExecutionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/executions/transfer":{"post":{"tags":["executions"],"summary":"Transfer","operationId":"transfer__version__executions_transfer_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferExecutionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/executions/refund":{"post":{"tags":["executions"],"summary":"Refund","operationId":"refund__version__executions_refund_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundExecutionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/fees/gateway":{"get":{"tags":["fees"],"summary":"Get Gateway Fees","operationId":"get_gateway_fees__version__fees_gateway_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"payment_method","in":"query","required":true,"schema":{"anyOf":[{"enum":["MTN_MOMO_LBR","ORANGE_MONEY_LBR","AIRTEL_RWA","MTN_MOMO_RWA","ORANGE_MONEY_RWA"],"type":"string"},{"const":"CREDIT_CARD","type":"string"},{"const":"WALLET","type":"string"}],"title":"Payment method"}},{"name":"operation_type","in":"query","required":true,"schema":{"enum":["COLLECTION","PAYOUT","TRANSFER","REFUND"],"type":"string","title":"Operation type (e.g. COLLECTION, PAYOUT)"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeWithProviderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/fees/platform":{"get":{"tags":["fees"],"summary":"Get Platform Fees","operationId":"get_platform_fees__version__fees_platform_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"operation_type","in":"query","required":true,"schema":{"enum":["COLLECTION","PAYOUT","TRANSFER","REFUND"],"type":"string","title":"Operation type (e.g. COLLECTION, PAYOUT)"}},{"name":"fee_tier_name","in":"query","required":true,"schema":{"type":"string","title":"Fee tier name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeTierRateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/fees/merchant-tier":{"get":{"tags":["fees"],"summary":"Get Merchant Fee Tier","operationId":"get_merchant_fee_tier__version__fees_merchant_tier_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"owner_type","in":"query","required":true,"schema":{"enum":["USER","MICRO_ORGANIZATION","ORGANIZATION"],"type":"string","title":"Owner type"}},{"name":"owner_id","in":"query","required":true,"schema":{"type":"integer","title":"Owner id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantFeeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/fees/tiers":{"get":{"tags":["fees"],"summary":"List Fee Tier","operationId":"list_fee_tier__version__fees_tiers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeeTierResponse"},"title":"Response List Fee Tier  Version  Fees Tiers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/create":{"post":{"tags":["invoices"],"summary":"Create Invoice","operationId":"create_invoice__version__invoices_create_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvoicePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/list":{"get":{"tags":["invoices"],"summary":"List Invoice","operationId":"list_invoice__version__invoices_list_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"currency","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","title":"Currency code (ISO-4217)","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},{"type":"null"}],"title":"Currency"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["IDLE","ACTIVE","PROCESSING","PAID","CANCELED"],"type":"string","title":"Invoice status"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceResponse"},"title":"Response List Invoice  Version  Invoices List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/retrieve/{id}":{"get":{"tags":["invoices"],"summary":"Retrieve Invoice By Id","operationId":"retrieve_invoice_by_id__version__invoices_retrieve__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/retrieve/number/{invoice_number}":{"get":{"tags":["invoices"],"summary":"Retrieve Invoice By Number","operationId":"retrieve_invoice_by_number__version__invoices_retrieve_number__invoice_number__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"invoice_number","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/update/{id}":{"put":{"tags":["invoices"],"summary":"Update Invoice","operationId":"update_invoice__version__invoices_update__id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInvoicePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/publish/{id}":{"put":{"tags":["invoices"],"summary":"Publish Invoice","operationId":"publish_invoice__version__invoices_publish__id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/cancel/{id}":{"delete":{"tags":["invoices"],"summary":"Cancel Invoice","operationId":"cancel_invoice__version__invoices_cancel__id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/{invoice_id}/items/add":{"post":{"tags":["invoices"],"summary":"Add Invoice Item","operationId":"add_invoice_item__version__invoices__invoice_id__items_add_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddInvoiceItemPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/{invoice_id}/items/{id}/update":{"put":{"tags":["invoices"],"summary":"Update Invoice Item","operationId":"update_invoice_item__version__invoices__invoice_id__items__id__update_put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInvoiceItemPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/{invoice_id}/items/{id}/remove":{"delete":{"tags":["invoices"],"summary":"Remove Invoice Item","operationId":"remove_invoice_item__version__invoices__invoice_id__items__id__remove_delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/receipt/{id}":{"get":{"tags":["invoices"],"summary":"Retrieve Invoice Receipt By Id","operationId":"retrieve_invoice_receipt_by_id__version__invoices_receipt__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/invoices/receipt/number/{invoice_number}":{"get":{"tags":["invoices"],"summary":"Retrieve Invoice Receipt By Number","operationId":"retrieve_invoice_receipt_by_number__version__invoices_receipt_number__invoice_number__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"invoice_number","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/jwt/client/obtain/token":{"post":{"tags":["jwt"],"summary":"Client Obtain Token","operationId":"client_obtain_token__version__jwt_client_obtain_token_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCredentialObtainTokenPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObtainTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/merchants/merchant-info":{"get":{"tags":["merchants"],"summary":"Get Merchant Info","operationId":"get_merchant_info__version__merchants_merchant_info_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"merchant_id","in":"query","required":true,"schema":{"type":"integer","title":"Merchant id"}},{"name":"merchant_type","in":"query","required":true,"schema":{"enum":["MICRO_ORGANIZATION","ORGANIZATION"],"type":"string","title":"Merchant type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/create":{"post":{"tags":["orders"],"summary":"Create Order","operationId":"create_order__version__orders_create_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrderPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/list":{"get":{"tags":["orders"],"summary":"List Order","operationId":"list_order__version__orders_list_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"currency","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","title":"Currency code (ISO-4217)","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},{"type":"null"}],"title":"Currency"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["IDLE","ACTIVE","PROCESSING","PAID","CANCELED"],"type":"string","title":"Order status"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderResponse"},"title":"Response List Order  Version  Orders List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/retrieve/{id}":{"get":{"tags":["orders"],"summary":"Retrieve Order By Id","operationId":"retrieve_order_by_id__version__orders_retrieve__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/retrieve/number/{order_number}":{"get":{"tags":["orders"],"summary":"Retrieve Order By Number","operationId":"retrieve_order_by_number__version__orders_retrieve_number__order_number__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"order_number","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/update/{id}":{"put":{"tags":["orders"],"summary":"Update Order","operationId":"update_order__version__orders_update__id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrderPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/publish/{id}":{"put":{"tags":["orders"],"summary":"Publish Order","operationId":"publish_order__version__orders_publish__id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/cancel/{id}":{"delete":{"tags":["orders"],"summary":"Cancel Order","operationId":"cancel_order__version__orders_cancel__id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/{order_id}/items/add":{"post":{"tags":["orders"],"summary":"Add Order Item","operationId":"add_order_item__version__orders__order_id__items_add_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddOrderItemPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/{order_id}/items/{id}/update":{"put":{"tags":["orders"],"summary":"Update Order Item","operationId":"update_order_item__version__orders__order_id__items__id__update_put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrderItemPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/{order_id}/items/{id}/remove":{"delete":{"tags":["orders"],"summary":"Remove Order Item","operationId":"remove_order_item__version__orders__order_id__items__id__remove_delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/receipt/{id}":{"get":{"tags":["orders"],"summary":"Retrieve Order Receipt By Id","operationId":"retrieve_order_receipt_by_id__version__orders_receipt__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/orders/receipt/number/{order_number}":{"get":{"tags":["orders"],"summary":"Retrieve Order Receipt By Number","operationId":"retrieve_order_receipt_by_number__version__orders_receipt_number__order_number__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"order_number","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/parties/create":{"post":{"tags":["parties"],"summary":"Create Party","operationId":"create_party__version__parties_create_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePartyRequestPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/parties/list":{"get":{"tags":["parties"],"summary":"List Parties","operationId":"list_parties__version__parties_list_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"fullname","in":"query","required":false,"schema":{"anyOf":[{"type":"string","title":"Full name"},{"type":"null"}],"title":"Fullname"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartyResponse"},"title":"Response List Parties  Version  Parties List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/parties/retrieve/{id}":{"get":{"tags":["parties"],"summary":"Retrieve Parties","operationId":"retrieve_parties__version__parties_retrieve__id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Object ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/payment-accounts/create":{"post":{"tags":["payment-accounts"],"summary":"Create Payment Account","operationId":"create_payment_account__version__payment_accounts_create_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"operation_type","in":"query","required":true,"schema":{"enum":["COLLECTION","PAYOUT","TRANSFER","REFUND"],"type":"string","title":"Operation type (e.g. COLLECTION, PAYOUT)"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentAccountPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/predictions/amount-and-fees":{"get":{"tags":["predictions"],"summary":"Predict Amount And Fee","operationId":"predict_amount_and_fee__version__predictions_amount_and_fees_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"base_amount","in":"query","required":true,"schema":{"type":"number","title":"Base Amount"}},{"name":"base_currency","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","title":"Currency code (ISO-4217)","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},{"name":"target_currency","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","title":"Currency code (ISO-4217)","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},{"name":"payment_method","in":"query","required":true,"schema":{"anyOf":[{"enum":["MTN_MOMO_LBR","ORANGE_MONEY_LBR","AIRTEL_RWA","MTN_MOMO_RWA","ORANGE_MONEY_RWA"],"type":"string"},{"const":"CREDIT_CARD","type":"string"},{"const":"WALLET","type":"string"}],"title":"Payment method"}},{"name":"operation_type","in":"query","required":true,"schema":{"enum":["COLLECTION","PAYOUT","TRANSFER","REFUND"],"type":"string","title":"Operation type (e.g. COLLECTION, PAYOUT)"}},{"name":"provider","in":"query","required":true,"schema":{"enum":["MTN_MOMO_LBR","ORANGE_MONEY_LBR","PAWAPAY","STRIPE","PLATFORM"],"type":"string","title":"Provider (e.g. MTN_MOMO_LRD)"}},{"name":"fee_bearer","in":"query","required":true,"schema":{"enum":["PAYER","PAYEE"],"type":"string","title":"Fee bearer"}},{"name":"owner_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["USER","MICRO_ORGANIZATION","ORGANIZATION"],"type":"string","title":"Owner type"},{"type":"null"}],"title":"Owner Type"}},{"name":"owner_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","title":"Owner id"},{"type":"null"}],"title":"Owner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmountAndFeePredictionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/predictions/payment-source/amount-and-fees":{"get":{"tags":["predictions"],"summary":"Predict Payment Source Amount And Fee","operationId":"predict_payment_source_amount_and_fee__version__predictions_payment_source_amount_and_fees_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"target_currency","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","title":"Currency code (ISO-4217)","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},{"name":"payment_method","in":"query","required":true,"schema":{"anyOf":[{"enum":["MTN_MOMO_LBR","ORANGE_MONEY_LBR","AIRTEL_RWA","MTN_MOMO_RWA","ORANGE_MONEY_RWA"],"type":"string"},{"const":"CREDIT_CARD","type":"string"},{"const":"WALLET","type":"string"}],"title":"Payment method"}},{"name":"provider","in":"query","required":true,"schema":{"enum":["MTN_MOMO_LBR","ORANGE_MONEY_LBR","PAWAPAY","STRIPE","PLATFORM"],"type":"string","title":"Provider (e.g. MTN_MOMO_LRD)"}},{"name":"source_type","in":"query","required":true,"schema":{"enum":["INVOICE","ORDER","SUBSCRIPTION"],"type":"string","title":"Source type"}},{"name":"source_id","in":"query","required":true,"schema":{"type":"integer","title":"Source id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmountAndFeePredictionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/predictions/mmo-provider-info":{"get":{"tags":["predictions"],"summary":"Predict Mmo Provider Info","operationId":"predict_mmo_provider_info__version__predictions_mmo_provider_info_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"phone","in":"query","required":true,"schema":{"type":"string","minLength":8,"maxLength":16,"pattern":"^[1-9]\\d{7,14}$","title":"Phone number","description":"E.164 digits only, without '+' (e.g. 231771234567). A leading '+' is accepted and removed."},"description":"E.164 digits only, without '+' (e.g. 231771234567). A leading '+' is accepted and removed."},{"name":"operation_type","in":"query","required":true,"schema":{"enum":["COLLECTION","PAYOUT","TRANSFER","REFUND"],"type":"string","title":"Operation type (e.g. COLLECTION, PAYOUT)"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictPhonePaymentInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/realtime-keys/collection":{"post":{"tags":["realtime-keys"],"summary":"Get Collection Realtime Key","operationId":"get_collection_realtime_key__version__realtime_keys_collection_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionRealtimeTokenPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealtimeTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/sessions/checkout":{"post":{"tags":["sessions"],"summary":"Create Checkout Session","operationId":"create_checkout_session__version__sessions_checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCheckoutSessionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/sessions/payout":{"post":{"tags":["sessions"],"summary":"Create Payout Session","operationId":"create_payout_session__version__sessions_payout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePayoutSessionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/sessions/transfer":{"post":{"tags":["sessions"],"summary":"Create Transfer Session","operationId":"create_transfer_session__version__sessions_transfer_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransferSessionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/sessions/refund":{"post":{"tags":["sessions"],"summary":"Create Refund Session","operationId":"create_refund_session__version__sessions_refund_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRefundSessionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/status/collection/{reference_id}":{"get":{"tags":["status"],"summary":"Get Collection Status","operationId":"get_collection_status__version__status_collection__reference_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction reference ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/status/payout/{reference_id}":{"get":{"tags":["status"],"summary":"Get Payout Status","operationId":"get_payout_status__version__status_payout__reference_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction reference ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/status/transfer/{reference_id}":{"get":{"tags":["status"],"summary":"Get Transfer Status","operationId":"get_transfer_status__version__status_transfer__reference_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction reference ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/status/refund/{reference_id}":{"get":{"tags":["status"],"summary":"Get Refund Status","operationId":"get_refund_status__version__status_refund__reference_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction reference ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/status/source":{"get":{"tags":["status"],"summary":"Get Payment Source Status","operationId":"get_payment_source_status__version__status_source_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"source_type","in":"query","required":true,"schema":{"enum":["INVOICE","ORDER","SUBSCRIPTION"],"type":"string","title":"Source type"}},{"name":"source_id","in":"query","required":true,"schema":{"type":"integer","title":"Source id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentSourceStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/links/pay":{"get":{"tags":["links"],"summary":"Get Payment Link","operationId":"get_payment_link__version__links_pay_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"source_type","in":"query","required":true,"schema":{"enum":["INVOICE","ORDER","SUBSCRIPTION"],"type":"string","title":"Source type"}},{"name":"source_number","in":"query","required":true,"schema":{"type":"string","title":"Source Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{version}/links/receipt":{"get":{"tags":["links"],"summary":"Get Receipt Link","operationId":"get_receipt_link__version__links_receipt_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"const":"v1","type":"string","title":"API version"}},{"name":"source_type","in":"query","required":true,"schema":{"enum":["INVOICE","ORDER","SUBSCRIPTION"],"type":"string","title":"Source type"}},{"name":"source_number","in":"query","required":true,"schema":{"type":"string","title":"Source Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AddInvoiceItemPayload":{"properties":{"name":{"type":"string","title":"Name"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"qty":{"type":"integer","title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."}},"type":"object","required":["name","currency","qty","amount"],"title":"AddInvoiceItemPayload","description":"AddInvoiceItemPayload"},"AddOrderItemPayload":{"properties":{"name":{"type":"string","title":"Name"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"qty":{"type":"integer","title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."}},"type":"object","required":["name","currency","qty","amount"],"title":"AddOrderItemPayload","description":"AddOrderItemPayload"},"AmountAndFeePredictionResponse":{"properties":{"payer_amount":{"type":"string","title":"Payer Amount"},"payer_currency":{"type":"string","title":"Payer Currency"},"payee_amount":{"type":"string","title":"Payee Amount"},"payee_currency":{"type":"string","title":"Payee Currency"},"platform_fee":{"type":"string","title":"Platform Fee"},"platform_currency":{"type":"string","title":"Platform Currency"},"fx_fee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fx Fee"},"gateway_fee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gateway Fee"},"gateway_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gateway Currency"}},"type":"object","required":["payer_amount","payer_currency","payee_amount","payee_currency","platform_fee","platform_currency"],"title":"AmountAndFeePredictionResponse","description":"AmountAndFeePredictionResponse"},"CheckoutExecutionPayload":{"properties":{"session_id":{"type":"string","title":"Session Id"},"payment_account_id":{"type":"string","title":"Payment Account Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"reference_id":{"type":"string","title":"Reference Id","description":"A version-4 UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)"}},"type":"object","required":["session_id","payment_account_id","currency","reference_id"],"title":"CheckoutExecutionPayload","description":"CheckoutExecutionPayload"},"CheckoutSessionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"payment_account_id":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Payment Account Id"},"source_id":{"type":"integer","title":"Source Id"},"source_type":{"type":"string","title":"Source Type"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","source_id","source_type","status","expires_at","created_at","updated_at"],"title":"CheckoutSessionResponse","description":"CheckoutSessionResponse"},"ClientCredentialObtainTokenPayload":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","format":"password","title":"Client Secret","writeOnly":true}},"type":"object","required":["client_id","client_secret"],"title":"ClientCredentialObtainTokenPayload"},"CollectionRealtimeTokenPayload":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"source_type":{"type":"string","title":"Source Type"},"reference_id":{"type":"string","title":"Reference Id","description":"A version-4 UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)"}},"type":"object","required":["session_id","source_type","reference_id"],"title":"CollectionRealtimeTokenPayload","description":"CollectionRealtimeTokenPayload"},"CounterPartyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"owner_party_type":{"type":"string","title":"Owner Party Type"},"owner_party_id":{"type":"integer","title":"Owner Party Id"},"relationship_type":{"type":"string","title":"Relationship Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","owner_party_type","owner_party_id","relationship_type","created_at","updated_at"],"title":"CounterPartyResponse","description":"CounterPartyResponse"},"CounterPartyWithPartyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"owner_party_type":{"type":"string","title":"Owner Party Type"},"owner_party_id":{"type":"integer","title":"Owner Party Id"},"relationship_type":{"type":"string","title":"Relationship Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"party":{"anyOf":[{"$ref":"#/components/schemas/PartyResponse"},{"type":"null"}]}},"type":"object","required":["id","owner_party_type","owner_party_id","relationship_type","created_at","updated_at"],"title":"CounterPartyWithPartyResponse","description":"CounterPartyWithPartyResponse"},"CreateCheckoutSessionPayload":{"properties":{"source_id":{"type":"integer","title":"Source Id"},"source_type":{"type":"string","title":"Source Type"}},"type":"object","required":["source_id","source_type"],"title":"CreateCheckoutSessionPayload","description":"CreateCheckoutSessionPayload"},"CreateCheckoutSourceRequestPayload":{"properties":{"mode":{"type":"string","title":"Mode"},"source_kind":{"type":"string","title":"Source Kind"},"party_name":{"type":"string","title":"Party Name"},"party_phone":{"type":"string","maxLength":15,"minLength":8,"pattern":"^[1-9]\\d{7,14}$","title":"Phone number","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"party_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Party Email"},"party_relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Party Relationship"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"currency":{"type":"string","title":"Currency"},"items":{"items":{"$ref":"#/components/schemas/PaymentSourceItemInput"},"type":"array","title":"Items"},"due_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Date"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["mode","source_kind","party_name","party_phone","currency","items"],"title":"CreateCheckoutSourceRequestPayload"},"CreateCheckoutSourceResponse":{"properties":{"mode":{"type":"string","title":"Mode"},"source_type":{"type":"string","title":"Source Type"},"source_id":{"type":"integer","title":"Source Id"},"source_number":{"type":"string","title":"Source Number"},"source_status":{"type":"string","title":"Source Status"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"party_id":{"type":"integer","title":"Party Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"due_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Date"},"source_checkout_config_id":{"type":"integer","title":"Source Checkout Config Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"hosted_path_or_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Path Or Token"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["mode","source_type","source_id","source_number","source_status","counterparty_id","party_id","currency","total_amount","source_checkout_config_id"],"title":"CreateCheckoutSourceResponse","description":"CreateCheckoutSourceResponse"},"CreateCounterpartyPayload":{"properties":{"relationship_type":{"type":"string","title":"Relationship Type"},"party_id":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Party Id"}},"type":"object","required":["relationship_type"],"title":"CreateCounterpartyPayload","description":"CreateCounterpartyPayload"},"CreateInvoicePayload":{"properties":{"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"note":{"type":"string","title":"Note"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"due_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Date"}},"type":"object","required":["counterparty_id","currency","note","fee_bearer","as_payment_link"],"title":"CreateInvoicePayload","description":"CreateInvoicePayload"},"CreateOrderPayload":{"properties":{"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"note":{"type":"string","title":"Note"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"as_payment_link":{"type":"boolean","title":"As Payment Link"}},"type":"object","required":["counterparty_id","currency","note","fee_bearer","as_payment_link"],"title":"CreateOrderPayload","description":"CreateOrderPayload"},"CreatePartyRequestPayload":{"properties":{"fullname":{"type":"string","title":"Fullname"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"type":"string","maxLength":15,"minLength":8,"pattern":"^[1-9]\\d{7,14}$","title":"Phone number","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"}},"type":"object","required":["fullname","phone"],"title":"CreatePartyRequestPayload"},"CreatePaymentAccountPayload":{"properties":{"account_name":{"type":"string","title":"Account Name"},"provider":{"type":"string","title":"Provider"},"method":{"type":"string","title":"Method"},"party_id":{"type":"integer","title":"Party Id"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"insensitive_account_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insensitive Account Number"}},"type":"object","required":["account_name","provider","method","party_id"],"title":"CreatePaymentAccountPayload","description":"CreatePaymentAccountPayload"},"CreatePayoutSessionPayload":{"properties":{"wallet_id":{"type":"integer","title":"Wallet Id"},"payment_account_id":{"type":"integer","title":"Payment Account Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["wallet_id","payment_account_id","amount","currency","expires_at"],"title":"CreatePayoutSessionPayload","description":"CreatePayoutSessionPayload"},"CreateRefundSessionPayload":{"properties":{"original_payment_intent_id":{"type":"integer","title":"Original Payment Intent Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["original_payment_intent_id","amount","expires_at"],"title":"CreateRefundSessionPayload","description":"CreateRefundSessionPayload"},"CreateTransferSessionPayload":{"properties":{"from_wallet_id":{"type":"integer","title":"From Wallet Id"},"to_counterparty_id":{"type":"integer","title":"To Counterparty Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["from_wallet_id","to_counterparty_id","amount","currency","expires_at"],"title":"CreateTransferSessionPayload","description":"CreateTransferSessionPayload"},"ExecutionResponse":{"properties":{"reference_id":{"type":"string","title":"Reference Id"},"provider_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Transaction Id"},"status":{"type":"string","title":"Status"},"payer_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Payer Amount"},"payer_currency":{"type":"string","title":"Payer Currency"},"payee_currency":{"type":"string","title":"Payee Currency"},"payee_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Payee Amount"},"operation_type":{"type":"string","title":"Operation Type"},"gateway_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gateway Message"},"wallet_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Message"}},"type":"object","required":["reference_id","status","payer_amount","payer_currency","payee_currency","payee_amount","operation_type"],"title":"ExecutionResponse","description":"ExecutionResponse"},"FeeTier":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","is_default","created_at","updated_at"],"title":"FeeTier","description":"Named platform fee plan.  Only one tier may have is_default=True (unique partial index). Falls back to the default tier when no merchant-specific tier is assigned."},"FeeTierRateResponse":{"properties":{"id":{"type":"integer","title":"Id"},"operation_type":{"type":"string","title":"Operation Type"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"percentage":{"type":"string","title":"Percentage"},"fx_percentage":{"type":"string","title":"Fx Percentage"},"fixed_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Fixed Fee","description":"Amount"},"fixed_fee_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fixed Fee Currency"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"tier":{"anyOf":[{"$ref":"#/components/schemas/FeeTier"},{"type":"null"}]}},"type":"object","required":["id","operation_type","percentage","fx_percentage","effective_from","created_at"],"title":"FeeTierRateResponse","description":"FeeTierRateResponse"},"FeeTierResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","is_default","created_at","updated_at"],"title":"FeeTierResponse","description":"FeeTierResponse"},"FeeWithProviderResponse":{"properties":{"id":{"type":"integer","title":"Id"},"provider_id":{"type":"integer","title":"Provider Id"},"operation_type":{"type":"string","title":"Operation Type"},"payment_method":{"type":"string","title":"Payment Method"},"percentage":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Percentage"},"fixed_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Fixed Fee","description":"Amount"},"fixed_fee_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fixed Fee Currency"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","provider_id","operation_type","payment_method","percentage","created_at","updated_at"],"title":"FeeWithProviderResponse","description":"FeeWithProviderResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InvoiceDetailResponse":{"properties":{"id":{"type":"integer","title":"Id"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"invoice_number":{"type":"string","title":"Invoice Number"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"status":{"type":"string","title":"Status"},"note":{"type":"string","title":"Note"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"due_date":{"type":"string","format":"date-time","title":"Due Date"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"invoice_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/InvoiceItemResponse"},"type":"array"},{"type":"null"}],"title":"Invoice Items"},"counterparty":{"anyOf":[{"$ref":"#/components/schemas/CounterPartyWithPartyResponse"},{"type":"null"}]}},"type":"object","required":["id","invoice_number","counterparty_id","currency","total_amount","status","note","fee_bearer","due_date","as_payment_link","owner_id","owner_type","created_at","updated_at"],"title":"InvoiceDetailResponse","description":"InvoiceDetailResponse"},"InvoiceItemResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"qty":{"type":"integer","title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","currency","qty","amount","created_at","updated_at"],"title":"InvoiceItemResponse","description":"InvoiceItemResponse"},"InvoiceReceiptResponse":{"properties":{"invoice_id":{"type":"integer","title":"Invoice Id"},"invoice_number":{"type":"string","title":"Invoice Number"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"status":{"type":"string","title":"Status"},"note":{"type":"string","title":"Note"},"due_date":{"type":"string","format":"date-time","title":"Due Date"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"relationship_type":{"type":"string","title":"Relationship Type"},"counterparty_name":{"type":"string","title":"Counterparty Name"},"counterparty_phone":{"type":"string","maxLength":15,"minLength":8,"title":"Counterparty Phone","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"counterparty_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counterparty Email"},"payer_amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Payer Amount","description":"A positive, non-zero amount."},"payer_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Payer Currency"},"payee_amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Payee Amount","description":"A positive, non-zero amount."},"payee_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Payee Currency"},"platform_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Platform Fee","description":"Amount"},"platform_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Platform Currency"},"gateway_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Gateway Fee","description":"Amount"},"gateway_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Gateway Currency"},"fx_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Fx Fee","description":"Amount"},"fx_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fx Rate"},"fx_currency_from":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fx Currency From"},"fx_currency_to":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fx Currency To"},"payment_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Provider"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"gateway_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Gateway Confirmed At"},"provider_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Transaction Id"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReceiptItem"},"type":"array"},{"type":"null"}],"title":"Items"}},"type":"object","required":["invoice_id","invoice_number","currency","total_amount","status","note","due_date","as_payment_link","fee_bearer","owner_id","owner_type","created_at","counterparty_id","relationship_type","counterparty_name","counterparty_phone"],"title":"InvoiceReceiptResponse","description":"InvoiceReceiptResponse"},"InvoiceResponse":{"properties":{"id":{"type":"integer","title":"Id"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"invoice_number":{"type":"string","title":"Invoice Number"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"status":{"type":"string","title":"Status"},"note":{"type":"string","title":"Note"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"due_date":{"type":"string","format":"date-time","title":"Due Date"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","invoice_number","counterparty_id","currency","total_amount","status","note","fee_bearer","due_date","as_payment_link","owner_id","owner_type","created_at","updated_at"],"title":"InvoiceResponse","description":"InvoiceResponse"},"LinkResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"LinkResponse"},"MerchantFeeResponse":{"properties":{"id":{"type":"integer","title":"Id"},"owner_type":{"type":"string","title":"Owner Type"},"owner_id":{"type":"integer","title":"Owner Id"},"assigned_at":{"type":"string","format":"date-time","title":"Assigned At"},"assigned_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned By"},"tier":{"anyOf":[{"$ref":"#/components/schemas/FeeTier"},{"type":"null"}]}},"type":"object","required":["id","owner_type","owner_id","assigned_at"],"title":"MerchantFeeResponse","description":"MerchantFeeResponse"},"MerchantInfoResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":15,"minLength":8},{"type":"null"}],"title":"Phone","description":"E.164 digits only, without '+' (e.g. 231771234567)"}},"type":"object","required":["id","name","type"],"title":"MerchantInfoResponse","description":"MerchantInfoResponse"},"ObtainTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"expires_in":{"type":"integer","title":"Expires In","description":"Expiry duration in minutes"}},"type":"object","required":["access_token","expires_in"],"title":"ObtainTokenResponse","description":"ObtainTokenResponse"},"OrderDetailResponse":{"properties":{"id":{"type":"integer","title":"Id"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"order_number":{"type":"string","title":"Order Number"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"note":{"type":"string","title":"Note"},"status":{"type":"string","title":"Status"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"order_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/OrderItemResponse"},"type":"array"},{"type":"null"}],"title":"Order Items"},"counterparty":{"anyOf":[{"$ref":"#/components/schemas/CounterPartyWithPartyResponse"},{"type":"null"}]}},"type":"object","required":["id","order_number","counterparty_id","currency","total_amount","note","status","fee_bearer","as_payment_link","owner_id","owner_type","created_at","updated_at"],"title":"OrderDetailResponse","description":"OrderDetailResponse"},"OrderItemResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"qty":{"type":"integer","title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","currency","qty","amount","created_at","updated_at"],"title":"OrderItemResponse","description":"OrderItemResponse"},"OrderReceiptResponse":{"properties":{"order_id":{"type":"integer","title":"Order Id"},"order_number":{"type":"string","title":"Order Number"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"status":{"type":"string","title":"Status"},"note":{"type":"string","title":"Note"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"relationship_type":{"type":"string","title":"Relationship Type"},"counterparty_name":{"type":"string","title":"Counterparty Name"},"counterparty_phone":{"type":"string","maxLength":15,"minLength":8,"title":"Counterparty Phone","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"counterparty_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counterparty Email"},"payer_amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Payer Amount","description":"A positive, non-zero amount."},"payer_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Payer Currency"},"payee_amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Payee Amount","description":"A positive, non-zero amount."},"payee_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Payee Currency"},"platform_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Platform Fee","description":"Amount"},"platform_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Platform Currency"},"gateway_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Gateway Fee","description":"Amount"},"gateway_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Gateway Currency"},"fx_fee":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Fx Fee","description":"Amount"},"fx_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fx Rate"},"fx_currency_from":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fx Currency From"},"fx_currency_to":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Fx Currency To"},"payment_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Provider"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"gateway_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Gateway Confirmed At"},"provider_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Transaction Id"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReceiptItem"},"type":"array"},{"type":"null"}],"title":"Items"}},"type":"object","required":["order_id","order_number","currency","total_amount","status","note","as_payment_link","fee_bearer","owner_id","owner_type","created_at","counterparty_id","relationship_type","counterparty_name","counterparty_phone"],"title":"OrderReceiptResponse","description":"OrderReceiptResponse"},"OrderResponse":{"properties":{"id":{"type":"integer","title":"Id"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"order_number":{"type":"string","title":"Order Number"},"counterparty_id":{"type":"integer","title":"Counterparty Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount","description":"Amount"},"note":{"type":"string","title":"Note"},"status":{"type":"string","title":"Status"},"fee_bearer":{"type":"string","title":"Fee Bearer"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"as_payment_link":{"type":"boolean","title":"As Payment Link"},"owner_id":{"type":"integer","title":"Owner Id"},"owner_type":{"type":"string","title":"Owner Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","order_number","counterparty_id","currency","total_amount","note","status","fee_bearer","as_payment_link","owner_id","owner_type","created_at","updated_at"],"title":"OrderResponse","description":"OrderResponse"},"PartyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"fullname":{"type":"string","title":"Fullname"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"type":"string","maxLength":15,"minLength":8,"title":"Phone","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","fullname","phone","created_at","updated_at"],"title":"PartyResponse","description":"PartyResponse"},"PaymentAccountResponse":{"properties":{"id":{"type":"integer","title":"Id"},"account_name":{"type":"string","title":"Account Name"},"provider":{"type":"string","title":"Provider"},"method":{"type":"string","title":"Method"},"party_id":{"type":"integer","title":"Party Id"},"is_active":{"type":"boolean","title":"Is Active"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","account_name","provider","method","party_id","is_active","created_at","updated_at"],"title":"PaymentAccountResponse","description":"PaymentAccountResponse"},"PaymentSourceItemInput":{"properties":{"name":{"type":"string","title":"Name"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."}},"type":"object","required":["name","currency","amount"],"title":"PaymentSourceItemInput","description":"Composite input type for a single line item in create_collection_source_openapi."},"PaymentSourceStatusResponse":{"properties":{"source_id":{"type":"integer","title":"Source Id"},"source_type":{"type":"string","title":"Source Type"},"source_number":{"type":"string","title":"Source Number"},"status":{"type":"string","title":"Status"},"currency":{"type":"string","title":"Currency"},"total_amount":{"anyOf":[{"type":"number"},{"type":"integer"}],"title":"Total Amount"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"}},"type":"object","required":["source_id","source_type","source_number","status","currency","total_amount"],"title":"PaymentSourceStatusResponse","description":"PaymentSourceStatusResponse"},"PayoutExecutionPayload":{"properties":{"session_id":{"type":"string","title":"Session Id"},"reference_id":{"type":"string","title":"Reference Id","description":"A version-4 UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)"}},"type":"object","required":["session_id","reference_id"],"title":"PayoutExecutionPayload","description":"PayoutExecutionPayload"},"PayoutSessionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"wallet_id":{"type":"integer","title":"Wallet Id"},"payment_account_id":{"type":"integer","title":"Payment Account Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","wallet_id","payment_account_id","amount","currency","status","expires_at","created_at","updated_at"],"title":"PayoutSessionResponse","description":"PayoutSessionResponse"},"PredictPhonePaymentInfoResponse":{"properties":{"carrier":{"type":"string","title":"Carrier"},"country":{"type":"string","title":"Country"},"currencies":{"items":{"type":"string","maxLength":3,"minLength":3},"type":"array","title":"Currencies"},"phone":{"type":"string","maxLength":15,"minLength":8,"title":"Phone","description":"E.164 digits only, without '+' (e.g. 231771234567)"},"payment_method":{"type":"string","title":"Payment Method"},"gateway_provider":{"type":"string","title":"Gateway Provider"},"operation_type":{"type":"string","title":"Operation Type"}},"type":"object","required":["carrier","country","currencies","phone","payment_method","gateway_provider","operation_type"],"title":"PredictPhonePaymentInfoResponse","description":"PredictPhonePaymentInfoResponse"},"RealtimeTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["access_token","expires_in"],"title":"RealtimeTokenResponse","description":"RealtimeTokenResponse"},"ReceiptItem":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"qty":{"type":"integer","title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"}},"type":"object","required":["id","name","qty","amount","currency"],"title":"ReceiptItem","description":"Line item embedded in a receipt response."},"RefundExecutionPayload":{"properties":{"session_id":{"type":"string","title":"Session Id"},"reference_id":{"type":"string","title":"Reference Id","description":"A version-4 UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)"}},"type":"object","required":["session_id","reference_id"],"title":"RefundExecutionPayload","description":"RefundExecutionPayload"},"RefundSessionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"original_payment_intent_id":{"type":"integer","title":"Original Payment Intent Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","original_payment_intent_id","amount","status","expires_at","created_at","updated_at"],"title":"RefundSessionResponse","description":"RefundSessionResponse"},"TransferExecutionPayload":{"properties":{"session_id":{"type":"string","title":"Session Id"},"reference_id":{"type":"string","title":"Reference Id","description":"A version-4 UUID (e.g. 550e8400-e29b-41d4-a716-446655440000)"}},"type":"object","required":["session_id","reference_id"],"title":"TransferExecutionPayload","description":"TransferExecutionPayload"},"TransferSessionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"from_wallet_id":{"type":"integer","title":"From Wallet Id"},"to_counterparty_id":{"type":"integer","title":"To Counterparty Id"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0}],"title":"Amount","description":"A positive, non-zero amount."},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","description":"Three-letter ISO-4217 currency code (e.g. USD, LRD, NGN)"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","from_wallet_id","to_counterparty_id","amount","currency","status","expires_at","created_at","updated_at"],"title":"TransferSessionResponse","description":"TransferSessionResponse"},"UpdateCounterpartyPayload":{"properties":{"relationship_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship Type"}},"type":"object","title":"UpdateCounterpartyPayload","description":"UpdateCounterpartyPayload"},"UpdateInvoiceItemPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"qty":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount"}},"type":"object","title":"UpdateInvoiceItemPayload","description":"UpdateInvoiceItemPayload"},"UpdateInvoicePayload":{"properties":{"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"fee_bearer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Bearer"},"due_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Date"}},"type":"object","title":"UpdateInvoicePayload","description":"UpdateInvoicePayload"},"UpdateOrderItemPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"qty":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Qty"},"amount":{"anyOf":[{"type":"number","minimum":0.01},{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount"}},"type":"object","title":"UpdateOrderItemPayload","description":"UpdateOrderItemPayload"},"UpdateOrderPayload":{"properties":{"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"fee_bearer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Bearer"}},"type":"object","title":"UpdateOrderPayload","description":"UpdateOrderPayload"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}