TechFusion logoTechFusion x PackNPay Docs

Core

Authentication

Authentication requirements for requests between TechFusion and PackNPay Osusu.

Authentication Model

This integration uses header-based authentication between TechFusion and PackNPay Osusu, but the required headers depend on the direction of the call.

PackNPay Osusu calls TechFusion using the TechFusion-issued x-api-key. TechFusion calls PackNPay Osusu using x-techfusion-api-key. Some TechFusion endpoints also require fsn-hash, but the inbound webhook documented here, POST /osusu/webhook/order-received, does not.

The API key and fsn hash are shared securely (for example, via encrypted email). Requests without valid required authentication headers return 401 Unauthorized.

Required Headers

FieldTypeRequiredApplies ToDescription
x-api-keystringYesTechFusion inbound webhooksRequired for PackNPay Osusu requests to TechFusion, including POST /osusu/webhook/order-received.
x-techfusion-api-keystringYesPackNPay Osusu onlyRequired header for authenticating requests to PackNPay Osusu APIs.
fsn-hashstringYesSelected TechFusion endpointsAdditional required header for TechFusion endpoints that explicitly require it. Not needed for POST /osusu/webhook/order-received.
Content-TypestringConditionalAny JSON body requestUse application/json for requests with JSON payloads.

TechFusion Sandbox Keys

Use these TechFusion sandbox keys for test requests only.

FieldSandbox ValueAction
x-api-keylBDKHyUpeigOUvAJy9Yk0EbqAK
fsn-hash567000

Production keys will be shared securely.

PackNPay Osusu Sandbox Keys

Use these PackNPay Osusu sandbox keys for test requests to Osusu APIs.

FieldSandbox ValueAction
x-techfusion-api-keyARGUE3vg47g4m1GoTOfm6Q68lqapT/9W2Ql1IEaiFnl0=

Production keys will be shared securely.