Skip to content

Instantly share code, notes, and snippets.

@jrmaia
Created July 20, 2022 16:37
Show Gist options
  • Select an option

  • Save jrmaia/56ef1ed57e50fb2c747d5d1138169fb8 to your computer and use it in GitHub Desktop.

Select an option

Save jrmaia/56ef1ed57e50fb2c747d5d1138169fb8 to your computer and use it in GitHub Desktop.
payload mova
$payload = array (
'api_version' => self::API_VERSION,
'transaction_id' => '593f33f6-6122-4624-8c1c-6602a14a730e',
'data' => array(
'request_info' => array(
"product_id" => $product_id,
"external_id" => $external_id
),
'borrower_info' => array(
"person_type" => $person_type,
"cpf_cnpj" => $cpf_cnpj,
"birth_opening_date" => $birth_opening_date,
"name" => $name,
"email" => $email,
"cell_phone" => $cell_phone,
"terms_agreement" => $terms_agreement,
"address" => array(
"postal_code" => $postal_code,
"street" => $street,
"number" => $number,
"complement" => $complement,
"neighborhood" => $neighborhood,
"city" => $city,
"state" => $state
)
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment